diff options
| author | Luc Donnet | 2014-11-06 12:15:19 +0100 |
|---|---|---|
| committer | Luc Donnet | 2014-11-06 12:15:19 +0100 |
| commit | 6848cd9ff6dbc567d1900e7f8cdcefe0c3bd5202 (patch) | |
| tree | dddffb38f8a2db32e3d6489be094bc4a08eab6a3 /app/views/devise/passwords | |
| parent | 2b86d2428d5da8be4499fc1fec2976f6c70fa34e (diff) | |
| download | chouette-core-6848cd9ff6dbc567d1900e7f8cdcefe0c3bd5202.tar.bz2 | |
Update devise sign in and sign up design
Diffstat (limited to 'app/views/devise/passwords')
| -rw-r--r-- | app/views/devise/passwords/new.html.erb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/app/views/devise/passwords/new.html.erb b/app/views/devise/passwords/new.html.erb index f285a0f6d..68fd8c22a 100644 --- a/app/views/devise/passwords/new.html.erb +++ b/app/views/devise/passwords/new.html.erb @@ -1,13 +1,13 @@ -<%= title_tag t('.title') %> +<div class="panel panel-default"> + <div class="panel-heading"><%= t('.title') %></div> + <div class="panel-body"> + <%= simple_form_for(resource, :as => resource_name, :url => password_path(resource_name)) do |form| %> + <%= form.input :email %> -<%= 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 %> + <%= link_to t("cancel"), root_path, :class => "btn btn-default" %> + <%= form.button :submit, :value => t("devise.passwords.new.commit") %> + <% end %> + </div> +</div> -<% end %> -<%= render "links" %> |
