metamaps--metamaps/app/views/sessions/new.html.erb
2012-09-23 21:30:48 -04:00

8 lines
No EOL
337 B
Text

<%= form_for @session || Session.new, url: session_path do |form| %>
<h3>Login</h3>
<label for="session_email">Email</label>
<%= form.text_field :email, class: "email" %>
<label for="session_password">Password</label>
<%= form.password_field :password, class: "password" %>
<%= form.submit "Login", class: "add" %>
<% end %>