OSDN Git Service

w
[pettanr/pettanr.git] / app / views / license_groups / list.html.erb
1 <h1><%= t '.title' -%></h1>
2
3 <table>
4   <tr>
5     <th><%= t_m 'LicenseGroup.id' -%></th>
6     <th><%= t_m 'LicenseGroup.name' -%></th>
7     <th><%= t_m 'LicenseGroup.classname' -%></th>
8     <th><%= t_m 'LicenseGroup.caption' -%></th>
9     <th><%= t_m 'LicenseGroup.url' -%></th>
10     <th><%= t_m 'LicenseGroup.created_at' -%></th>
11     <th><%= t_m 'LicenseGroup.updated_at' -%></th>
12   </tr>
13   <% @license_groups.each do |lg| %>
14     <tr>
15       <td><%= link_to lg.id, :action => :browse, :id => lg.id %></td>
16       <td>
17         <%= h(truncate(lg.name, :length => 16)) %>
18       </td>
19       <td>
20         <%= h(truncate(lg.classname, :length => 16)) %>
21       </td>
22       <td>
23         <%= h(truncate(lg.caption, :length => 16)) %>
24       </td>
25       <td>
26         <%= h(truncate(lg.url, :length => 16)) %>
27       </td>
28       <td>
29         <%= l lg.created_at %>
30       </td>
31       <td>
32         <%= l lg.updated_at %>
33       </td>
34     </tr>
35   <% end -%>
36 </table>