OSDN Git Service

t#31566:add mylist sb
[pettanr/pettanr.git] / app / views / speech_balloons / index.html.erb
index 52ef612..f216172 100644 (file)
@@ -1,2 +1,15 @@
 <h1><%= t '.title' -%></h1>
 
+<table>
+  <tr>
+    <th><%= t_m 'SpeechBalloon.id' -%></th>
+    <th><%= t_m 'SpeechBalloon.caption' -%></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) %>