about summary refs log tree commit diff stats
path: root/app/views/users/sessions/new.html.haml
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-06-25 12:30:31 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-06-25 12:30:31 -0400
commit7e2e42379cb40a500eb8a236c05788eb3e84d141 (patch)
tree784dfe04f81b034889b96b5c251923da7e6f3a1e /app/views/users/sessions/new.html.haml
parent275218aeaf24d4f9d58589cf68ec6647f0a65050 (diff)
downloadthoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.tar.gz
thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.tar.bz2
thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.zip
Added logging in and logging out
Diffstat (limited to 'app/views/users/sessions/new.html.haml')
-rw-r--r--app/views/users/sessions/new.html.haml15
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