metamaps--metamaps/app/views/sessions/new.html.erb

8 lines
337 B
Text
Raw Normal View History

2012-09-23 02:39:12 +00:00
<%= form_for @session || Session.new, url: session_path do |form| %>
2012-09-24 01:30:48 +00:00
<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" %>
2012-09-23 02:39:12 +00:00
<% end %>