Commit db296747b70ada408da079ba53aa65e93c4d3197
1 parent
628e1651
Exists in
master
and in
1 other branch
sessions/new using evergreen styles, semi_formal syntax
Showing
1 changed file
with
22 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,22 @@ |
| 1 | +<h2>Sign in</h2> | |
| 2 | + | |
| 3 | +<% form_for :session, :url => session_path do |form| %> | |
| 4 | + <fieldset class="inputs"> | |
| 5 | + <%= form.string :email %> | |
| 6 | + <%= form.password :password %> | |
| 7 | + <%= form.password :password_confirmation %> | |
| 8 | + </fieldset> | |
| 9 | + <fieldset class="buttons"> | |
| 10 | + <%= form.submit "Sign in", :disable_with => "Please wait..." %> | |
| 11 | + </fieldset> | |
| 12 | +<% end %> | |
| 13 | + | |
| 14 | +<ul> | |
| 15 | + <li> | |
| 16 | + <%= link_to "Sign up", new_user_path %> | |
| 17 | + </li> | |
| 18 | + <li> | |
| 19 | + <%= link_to "Forgot password?", new_password_path %> | |
| 20 | + </li> | |
| 21 | +</ul> | |
| 22 | + | ... | ... |