mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-19 14:00:27 +00:00
Updated all links
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
<h1>Weight Class:<%= @weight.max %></h1>
|
||||
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}" %> |
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %> |
|
||||
<% if user_signed_in? %>
|
||||
<%= link_to "Edit #{@weight.max} Weight Class", edit_weight_path(@weight) %> |
|
||||
<%= link_to "Edit #{@weight.max} Weight Class", edit_weight_path(@weight), :class=>"btn btn-primary" %>
|
||||
<% end %>
|
||||
|
||||
<br>
|
||||
@@ -45,7 +45,6 @@
|
||||
<% end %></td>
|
||||
<td><%= link_to 'Show', wrestler , :class=>"btn btn-default" %>
|
||||
<% if user_signed_in? %>
|
||||
<%= link_to 'Edit', edit_wrestler_path(wrestler) , :class=>"btn btn-default" %>
|
||||
<%= link_to 'Destroy', wrestler, method: :delete, data: { confirm: 'Are you sure?' } , :class=>"btn btn-danger" %></td>
|
||||
<% end %>
|
||||
</tr>
|
||||
@@ -54,7 +53,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<% if user_signed_in? %>
|
||||
<%= submit_tag "Save"%>
|
||||
<%= submit_tag "Save", :class=>"btn btn-success"%>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user