mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-06 14:36:59 +00:00
Added basic scaffolds for schools wrestlers and weights
This commit is contained in:
17
app/views/static_pages/school.html.erb
Normal file
17
app/views/static_pages/school.html.erb
Normal file
@@ -0,0 +1,17 @@
|
||||
<h1>School Scores</h1>
|
||||
<table class="table table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Name</td>
|
||||
<td>Score</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @school.each do |school| %>
|
||||
<tr>
|
||||
<td><%= school.name %></td>
|
||||
<td><%= school.score %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user