diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 12:30:31 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 12:30:31 -0400 |
commit | 7e2e42379cb40a500eb8a236c05788eb3e84d141 (patch) | |
tree | 784dfe04f81b034889b96b5c251923da7e6f3a1e /app/views/devise/registrations/new.html.erb | |
parent | 275218aeaf24d4f9d58589cf68ec6647f0a65050 (diff) | |
download | thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.tar.gz thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.tar.bz2 thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.zip |
Added logging in and logging out
Diffstat (limited to 'app/views/devise/registrations/new.html.erb')
-rw-r--r-- | app/views/devise/registrations/new.html.erb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb new file mode 100644 index 0000000..5a238ce --- /dev/null +++ b/app/views/devise/registrations/new.html.erb | |||
@@ -0,0 +1,29 @@ | |||
1 | <h2>Sign up</h2> | ||
2 | |||
3 | <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> | ||
4 | <%= devise_error_messages! %> | ||
5 | |||
6 | <div class="field"> | ||
7 | <%= f.label :email %><br /> | ||
8 | <%= f.email_field :email, autofocus: true %> | ||
9 | </div> | ||
10 | |||
11 | <div class="field"> | ||
12 | <%= f.label :password %> | ||
13 | <% if @minimum_password_length %> | ||
14 | <em>(<%= @minimum_password_length %> characters minimum)</em> | ||
15 | <% end %><br /> | ||
16 | <%= f.password_field :password, autocomplete: "off" %> | ||
17 | </div> | ||
18 | |||
19 | <div class="field"> | ||
20 | <%= f.label :password_confirmation %><br /> | ||
21 | <%= f.password_field :password_confirmation, autocomplete: "off" %> | ||
22 | </div> | ||
23 | |||
24 | <div class="actions"> | ||
25 | <%= f.submit "Sign up" %> | ||
26 | </div> | ||
27 | <% end %> | ||
28 | |||
29 | <%= render "devise/shared/links" %> | ||