-<h1>Listing speech_balloons</h1>
+<h1><%= t '.title' -%></h1>
+
<table>
<tr>
- <th>Name</th>
- <th>Tail count</th>
- <th>size count</th>
- <th>t</th>
- <th></th>
- <th></th>
+ <th><%= t_m 'SpeechBalloon.id' -%></th>
+ <th><%= t_m 'SpeechBalloon.caption' -%></th>
+ <th><%= t_m 'Speech.content' -%></th>
+ <th><%= t_m 'SpeechBalloonTemplate.caption' -%></th>
+ <th><%= t_m 'SpeechBalloon.panel_id' -%></th>
+ <th><%= t_m 'SpeechBalloon.z' -%></th>
+ <th><%= t_m 'SpeechBalloon.updated_at' -%></th>
</tr>
-<% @speech_balloons.each do |speech_balloon| %>
- <tr>
- <td><%= h speech_balloon.name %></td>
- <td><%= speech_balloon.tail_count %></td>
- <td><%= speech_balloon.size_count %></td>
- <td><%= speech_balloon.t %></td>
- <td><%= link_to 'show', speech_balloon %></td>
- <td>
- <% if admin_signed_in? -%>
- <%= link_to 'Destroy', speech_balloon, confirm: 'Are you sure?', method: :delete %>
- <% end -%>
- </td>
- </tr>
-<% end %>
+ <% @speech_balloons.each do |speech_balloon| %>
+ <%= render 'list_item', :speech_balloon => speech_balloon %>
+ <% end %>
</table>
+<%= paginate(@paginate) %>