From 7e2e42379cb40a500eb8a236c05788eb3e84d141 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 25 Jun 2017 12:30:31 -0400 Subject: Added logging in and logging out --- app/views/users/sessions/.new.html.haml.swo | Bin 0 -> 12288 bytes app/views/users/sessions/new.html.haml | 15 +++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 app/views/users/sessions/.new.html.haml.swo create mode 100644 app/views/users/sessions/new.html.haml (limited to 'app/views/users/sessions') diff --git a/app/views/users/sessions/.new.html.haml.swo b/app/views/users/sessions/.new.html.haml.swo new file mode 100644 index 0000000..85950d9 Binary files /dev/null and b/app/views/users/sessions/.new.html.haml.swo differ 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 @@ +#userdata-form + = form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| + .field + = f.label :login + = f.text_field :login, autofocus: true + .field + = f.label :password + = f.password_field :password, autocomplete: "off" + .remember-me-field + = f.check_box :remember_me + = f.label :remember_me + .submit-field + = f.submit "Log in" +.userdata-link= link_to "Forgot your password?", new_password_path(resource_name) +.userdata-link= link_to "← Back to thoughts", root_url -- cgit 1.4.1