Add HTML version of the ratings
This commit is contained in:
parent
f7c5850c11
commit
e997f1d042
|
@ -0,0 +1,7 @@
|
|||
<tr>
|
||||
<td><%= talk.id %></td>
|
||||
<td><%= talk.event_type.name %></td>
|
||||
<td><%= talk.title %></td>
|
||||
<td><%= talk.subtitle %></td>
|
||||
<td><%= @ratings[talk.id] %></td>
|
||||
</tr>
|
|
@ -0,0 +1,14 @@
|
|||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Type</th>
|
||||
<th>Title</th>
|
||||
<th>Subtitle</th>
|
||||
<th>Votes</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<%= render partial: 'talk', collection: @talks %>
|
||||
</tbody>
|
||||
</table>
|
Loading…
Reference in New Issue