diff options
Diffstat (limited to 'app/views/users/sessions/new.html.haml')
-rw-r--r-- | app/views/users/sessions/new.html.haml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/users/sessions/new.html.haml b/app/views/users/sessions/new.html.haml new file mode 100644 index 0000000..fbdf8be --- /dev/null +++ b/app/views/users/sessions/new.html.haml | |||
@@ -0,0 +1,15 @@ | |||
1 | #userdata-form | ||
2 | = form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| | ||
3 | .field | ||
4 | = f.label :login | ||
5 | = f.text_field :login, autofocus: true | ||
6 | .field | ||
7 | = f.label :password | ||
8 | = f.password_field :password, autocomplete: "off" | ||
9 | .remember-me-field | ||
10 | = f.check_box :remember_me | ||
11 | = f.label :remember_me | ||
12 | .submit-field | ||
13 | = f.submit "Log in" | ||
14 | .userdata-link= link_to "Forgot your password?", new_password_path(resource_name) | ||
15 | .userdata-link= link_to "← Back to thoughts", root_url | ||