app/views/devise/passwords/edit.html.erb in leather-0.0.3 vs app/views/devise/passwords/edit.html.erb in leather-0.0.4
- old
+ new
@@ -1,10 +1,7 @@
<div class="container">
- <div class="devise-welcome">
- <h2>Leather</h2>
- <h3>Change your password.</h3>
- </div>
+ <%= render "devise/shared/welcome", subtitle: "Change your password." %>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<div class="devise-box">
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
<%= devise_error_messages! %>
@@ -18,16 +15,14 @@
<div class="form-group" >
<%= f.label :password_confirmation, "Confirm new password" %>
<%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control" %>
</div>
- <div class="actions text-center">
+ <div class="actions">
<%= f.submit "Send instructions", class: "btn btn-default" %>
</div>
<% end %>
</div>
- <p class="devise-links">
- <%= render "devise/shared/links" %>
- </p>
+ <%= render "devise/shared/links" %>
</div>
</div>
</div>
\ No newline at end of file