OSDN Git Service

t#30102:update i18n comics,lg,ls
[pettanr/pettanr.git] / app / views / license_groups / index.html.erb
index 331ce18..4e30c32 100644 (file)
@@ -1,17 +1,14 @@
-<h1>Listing license Groups</h1>
-
+<h1><%= t '.title' -%></h1>
 <table>
   <tr>
-    <th>id</th>
-    <th>name</th>
-    <th>caption</th>
+    <th><%= t_m 'LicenseGroup.caption' -%></th>
   </tr>
-
-<% @license_groups.each do |lg| %>
-  <tr>
-    <td><%= link_to lg.id, license_group_path(lg) %></td>
-    <td><%= h lg.name %></td>
-    <td><%= content_tag(:a, h(lg.caption), :href => lg.url) %></td>
-  </tr>
-<% end -%>
+  <% @license_groups.each do |lg| %>
+    <tr>
+      <td>
+        <%= link_to t('link.marker'), license_group_path(lg) %>
+        <%= link_to h(lg.caption), lg.url %>
+      </td>
+    </tr>
+  <% end -%>
 </table>