diff options
| author | Luc Donnet | 2014-11-17 13:29:45 +0100 | 
|---|---|---|
| committer | Luc Donnet | 2014-11-17 13:29:45 +0100 | 
| commit | ab4abb00d0a8b1fdee6bf1cf635c856f49f0707c (patch) | |
| tree | 5f09a52c460f4fb0be65809e6a255bc10c064414 /app/views | |
| parent | 0df2ab4ef16ade6547db4f707472cc9506c12892 (diff) | |
| download | chouette-core-ab4abb00d0a8b1fdee6bf1cf635c856f49f0707c.tar.bz2 | |
Update new password design page
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/devise/passwords/new.html.erb | 20 | 
1 files changed, 12 insertions, 8 deletions
diff --git a/app/views/devise/passwords/new.html.erb b/app/views/devise/passwords/new.html.erb index 68fd8c22a..865805319 100644 --- a/app/views/devise/passwords/new.html.erb +++ b/app/views/devise/passwords/new.html.erb @@ -1,12 +1,16 @@ -<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 %>  +<div class="col-md-offset-2 col-md-8"> +  <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, :as => :email, placeholder: 'user@domain.com'  %>  -      <%= link_to t("cancel"), root_path, :class => "btn btn-default" %>     -      <%= form.button :submit, :value => t("devise.passwords.new.commit") %> -    <% end %> +      <div class="col-md-offset-2"> +        <%= link_to t("cancel"), root_path, :class => "btn btn-default" %>     +        <%= form.button :submit, :value => t("devise.passwords.new.commit"), :class => "btn-info" %> +      </div> +      <% end %> +    </div>    </div>  </div>  | 
