Skip to content

Instantly share code, notes, and snippets.


shankardevy/new.html.eex Secret

Created Jul 12, 2017
What would you like to do?
<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 class="form-group">
<%= password_input f, :password, placeholder: "Password", class: "form-control" %>
<%= submit "Log in", class: "btn btn-primary" %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment