app/views/devise/passwords/edit.html.erb in leather-0.0.5 vs app/views/devise/passwords/edit.html.erb in leather-0.0.6

- old
+ new

@@ -1,28 +1,26 @@ <div class="container"> <%= 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! %> - <%= f.hidden_field :reset_password_token %> + <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %> + <%= devise_error_messages! %> + <%= f.hidden_field :reset_password_token %> - <div class="form-group" > - <%= f.label :password, "New password" %> - <%= f.password_field :password, autofocus: true, autocomplete: "off", class: "form-control" %> - </div> + <div class="form-group" > + <%= f.label :password, "New password" %> + <%= f.password_field :password, autofocus: true, autocomplete: "off", class: "form-control" %> + </div> - <div class="form-group" > - <%= f.label :password_confirmation, "Confirm new password" %> - <%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control" %> - </div> + <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"> - <%= f.submit "Send instructions", class: "btn btn-default" %> - </div> - <% end %> - </div> + <div class="actions"> + <%= f.submit "Send instructions", class: "btn btn-default" %> + </div> + <% end %> <%= render "devise/shared/links" %> </div> </div> </div> \ No newline at end of file