OSDN Git Service

w
[pettanr/pettanr.git] / app / views / speech_balloons / index.html.erb
index 52ef612..f83a736 100644 (file)
@@ -1,2 +1,18 @@
 <h1><%= t '.title' -%></h1>
 
+<table>
+  <tr>
+    <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| %>
+    <%= render 'list_item', :speech_balloon => speech_balloon %>
+  <% end %>
+</table>
+<%= paginate(@paginate) %>