about summary refs log tree commit diff stats
path: root/app/views/devise/registrations/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/devise/registrations/new.html.erb')
-rw-r--r--app/views/devise/registrations/new.html.erb29
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" %>