app/views/devise/passwords/new.html.erb in leather-0.0.3 vs app/views/devise/passwords/new.html.erb in leather-0.0.4
- old
+ new
@@ -1,10 +1,7 @@
<div class="container">
- <div class="devise-welcome">
- <h2>Leather</h2>
- <h3>Reset your password.</h3>
- </div>
+ <%= render "devise/shared/welcome", subtitle: "Reset 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: :post }) do |f| %>
<%= devise_error_messages! %>
@@ -12,16 +9,14 @@
<div class="form-group" >
<%= f.label :email, "Email address" %>
<%= f.email_field :email, autofocus: true, 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