diff options
| author | Luc Donnet | 2014-06-18 09:52:28 +0200 |
|---|---|---|
| committer | Luc Donnet | 2014-06-18 09:52:28 +0200 |
| commit | bfd178055c1989d4d65a99e3752aa0ccd3abdad1 (patch) | |
| tree | c1160d25f2115ec98181ef9d0147a092f09a851c /app/views/devise/passwords | |
| parent | f4f4a304e36825a53ebc9227509dc3c389ef17cf (diff) | |
| download | chouette-core-bfd178055c1989d4d65a99e3752aa0ccd3abdad1.tar.bz2 | |
Initialize big css refactoring
Diffstat (limited to 'app/views/devise/passwords')
| -rw-r--r-- | app/views/devise/passwords/edit.html.erb | 17 | ||||
| -rw-r--r-- | app/views/devise/passwords/new.html.erb | 13 |
2 files changed, 30 insertions, 0 deletions
diff --git a/app/views/devise/passwords/edit.html.erb b/app/views/devise/passwords/edit.html.erb new file mode 100644 index 000000000..421339b5d --- /dev/null +++ b/app/views/devise/passwords/edit.html.erb @@ -0,0 +1,17 @@ +<%= title_tag t('.title') %> + +<%= semantic_form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %> + + <%= f.inputs do %> + <%= f.input :reset_password_token, :as => :hidden %> + <%= f.input :password, :as => :password %> + <%= f.input :password_confirmation, :as => :password %> + <% end %> + + <%= f.actions do %> + <%= f.action :submit, :as => :button, :label => t('.commit') %> + <%= f.action :cancel, :as => :link %> + <% end %> +<% end %> + +<%= render "links" %> diff --git a/app/views/devise/passwords/new.html.erb b/app/views/devise/passwords/new.html.erb new file mode 100644 index 000000000..f285a0f6d --- /dev/null +++ b/app/views/devise/passwords/new.html.erb @@ -0,0 +1,13 @@ +<%= title_tag t('.title') %> + +<%= semantic_form_for(resource, :as => resource_name, :url => password_path(resource_name)) do |form| %> + <%= form.inputs :email %> + + <%= form.actions do %> + <%= form.action :submit, :as => :button, :label => t('.commit') %> + <%= form.action :cancel, :as => :link %> + <% end %> + +<% end %> + +<%= render "links" %> |
