1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-29 02:12:59 +00:00

Fixed Layouts

This commit is contained in:
Jacob Cody Wimer
2014-01-03 11:03:08 -05:00
parent 62a7cdabbc
commit e27c29d313
15 changed files with 88 additions and 33 deletions

View File

@@ -1,13 +1,11 @@
<h1>Listing schools</h1>
<table>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Name</th>
<th>Score</th>
<th></th>
<th></th>
<th></th>
<th>Actions</th>
</tr>
</thead>
@@ -16,9 +14,7 @@
<tr>
<td><%= school.name %></td>
<td><%= school.score %></td>
<td><%= link_to 'Show', school %></td>
<td><%= link_to 'Edit', edit_school_path(school) %></td>
<td><%= link_to 'Destroy', school, method: :delete, data: { confirm: 'Are you sure?' } %></td>
<td><%= link_to 'Show', school , :class=>"btn" %><%= link_to 'Edit', edit_school_path(school), :class=>"btn" %><%= link_to 'Destroy', school, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %></td>
</tr>
<% end %>
</tbody>