Skip to content

Instantly share code, notes, and snippets.

@shankardevy
Created July 12, 2017 14:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shankardevy/0bd4810bd95732563c6593873d667cbc to your computer and use it in GitHub Desktop.
Save shankardevy/0bd4810bd95732563c6593873d667cbc to your computer and use it in GitHub Desktop.
<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