-
-
Save shankardevy/0bd4810bd95732563c6593873d667cbc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<div class="col-md-4 col-md-offset-4"> | |
<h1>Mango Customer Login</h1> | |
<%= form_for @conn, session_path(@conn, :create), [as: :session, id: "session-form"], fn f -> %> | |
<div class="form-group"> | |
<%= text_input f, :email, placeholder: "Email", class: "form-control" %> | |
</div> | |
<div class="form-group"> | |
<%= password_input f, :password, placeholder: "Password", class: "form-control" %> | |
</div> | |
<%= submit "Log in", class: "btn btn-primary" %> | |
<% end %> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment