diff options
Diffstat (limited to 'app/views/devise/registrations')
-rw-r--r-- | app/views/devise/registrations/edit.html.erb | 2 | ||||
-rw-r--r-- | app/views/devise/registrations/new.html.erb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index 1e66f3d..471580a 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb | |||
@@ -1,3 +1,5 @@ | |||
1 | <% "Edit account" %> | ||
2 | |||
1 | <h2>Edit <%= resource_name.to_s.humanize %></h2> | 3 | <h2>Edit <%= resource_name.to_s.humanize %></h2> |
2 | 4 | ||
3 | <%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %> | 5 | <%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %> |
diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb index 5a238ce..ad0a77f 100644 --- a/app/views/devise/registrations/new.html.erb +++ b/app/views/devise/registrations/new.html.erb | |||
@@ -1,3 +1,5 @@ | |||
1 | <% title "Sign up" %> | ||
2 | |||
1 | <h2>Sign up</h2> | 3 | <h2>Sign up</h2> |
2 | 4 | ||
3 | <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> | 5 | <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> |