1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-15 09:27:03 +00:00

Went through views to make sure navigation is correct and views look ok

This commit is contained in:
2015-11-05 03:02:03 +00:00
parent 4fae1c2896
commit 7aad1ee429
15 changed files with 34 additions and 27 deletions

View File

@@ -10,7 +10,7 @@
<div><%= f.label :password_confirmation, "Confirm new password" %><br />
<%= f.password_field :password_confirmation %></div>
<div><%= f.submit "Change my password" %></div>
<div><%= f.submit "Change my password" :class=>"btn btn-success"%></div>
<% end %>
<%= render "devise/shared/links" %>

View File

@@ -5,8 +5,9 @@
<div><%= f.label :email %><br />
<%= f.email_field :email, :autofocus => true %></div>
<div><%= f.submit "Send me reset password instructions" %></div>
<br>
<div><%= f.submit "Send me reset password instructions",:class=>"btn btn-success" %></div>
<% end %>
<br>
<br>
<%= render "devise/shared/links" %>

View File

@@ -18,12 +18,12 @@
<div><%= f.label :current_password %> <i>(we need your current password to confirm your changes)</i><br />
<%= f.password_field :current_password %></div>
<div><%= f.submit "Update" %></div>
<br>
<div><%= f.submit "Update",:class=>"btn btn-success" %></div>
<% end %>
<h3>Cancel my account</h3>
<p>Unhappy? <%= button_to "Cancel my account", registration_path(resource_name), :data => { :confirm => "Are you sure?" }, :method => :delete %></p>
<p>Unhappy? <%= button_to "Cancel my account", registration_path(resource_name), :data => { :confirm => "Are you sure?" }, :method => :delete, :class=>"btn btn-danger" %></p>
<%= link_to "Back", :back %>

View File

@@ -11,7 +11,8 @@
<div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
<% end -%>
<div><%= f.submit "Sign in" %></div>
<div><%= f.submit "Sign in" ,:class=>"btn btn-success"%></div>
<% end %>
<br>
<br>
<%= render "devise/shared/links" %>