File tree Expand file tree Collapse file tree 5 files changed +18
-11
lines changed
Expand file tree Collapse file tree 5 files changed +18
-11
lines changed Original file line number Diff line number Diff line change 223223 <%= form.label :password_confirmation %>
224224 <%= form.password_field :password_confirmation, required: true %>
225225 </div>
226- <%= form.submit %>
226+ <%= form.submit "Sign Up" %>
227227<% end %>
228228```
229229
@@ -1041,7 +1041,7 @@ end
10411041 <%= form.label :current_password, "Current password (we need your current password to confirm your changes)" %>
10421042 <%= form.password_field :current_password, required: true %>
10431043 </div>
1044- <%= form.submit %>
1044+ <%= form.submit "Update Account" %>
10451045<% end %>
10461046```
10471047
@@ -1208,7 +1208,7 @@ end
12081208 <%= form.label :remember_me %>
12091209 <%= form.check_box :remember_me %>
12101210 </div>
1211- <%= form.submit %>
1211+ <%= form.submit "Sign In" %>
12121212<% end %>
12131213```
12141214
Original file line number Diff line number Diff line change 1515 <% flash . each do |message_type , message | %>
1616 < div class ="<%= message_type %> "> <%= message %> </ div >
1717 <% end %>
18- <% if user_signed_in? %>
19- <%= button_to "Logout" , logout_path , method : :delete %>
20- <% else %>
21- <%= link_to "Login" , login_path %>
22- <% end %>
18+ < ul >
19+ <% if user_signed_in? %>
20+ < li > <%= link_to "My Acount" , account_path %> </ li >
21+ < li > <%= button_to "Logout" , logout_path , method : :delete %> </ li >
22+ <% else %>
23+ < li > <%= link_to "Login" , login_path %> </ li >
24+ < li > <%= link_to "Sign Up" , sign_up_path %> </ li >
25+ < li > <%= link_to "Forgot my password" , new_password_path %> </ li >
26+ < li > <%= link_to "Didn't receive confirmation instructions" , new_confirmation_path %> </ li >
27+ <% end %>
28+ </ ul >
29+ < hr />
2330 < header >
2431 < main style ="width: 1200px; margin: 0 auto; ">
2532 <%= yield %>
Original file line number Diff line number Diff line change 1111 <%= form . label :remember_me %>
1212 <%= form . check_box :remember_me %>
1313 </ div >
14- <%= form . submit %>
14+ <%= form . submit "Sign In" %>
1515<% end %>
Original file line number Diff line number Diff line change 2121 <%= form . label :current_password , "Current password (we need your current password to confirm your changes)" %>
2222 <%= form . password_field :current_password , required : true %>
2323 </ div >
24- <%= form . submit %>
24+ <%= form . submit "Update Account" %>
2525<% end %>
Original file line number Diff line number Diff line change 1212 <%= form . label :password_confirmation %>
1313 <%= form . password_field :password_confirmation , required : true %>
1414 </ div >
15- <%= form . submit %>
15+ <%= form . submit "Sign Up" %>
1616<% end %>
You can’t perform that action at this time.
0 commit comments