OSDN Git Service

t#30102:update i18n color,sp,sbt
[pettanr/pettanr.git] / app / views / speech_balloon_templates / index.html.erb
index 148dee0..70af039 100644 (file)
@@ -1,12 +1,13 @@
-<h1>Listing speach balloon template</h1>
+<h1><%= t '.title' -%></h1>
+
 <table>
   <tr>
-    <th>Name</th>
+    <th><%= t_m 'SpeechBalloonTemplate.caption' -%></th>
   </tr>
 
-<% @speech_balloon_templates.each do |st| %>
-  <tr>
-    <td><%= h st.caption %></td>
-  </tr>
-<% end %>
+  <% @speech_balloon_templates.each do |st| %>
+    <tr>
+      <td><%= link_to h(st.caption), speech_balloon_template_path(st) %></td>
+    </tr>
+  <% end %>
 </table>