OSDN Git Service

Merge branch 'v04' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v04
[pettanr/pettanr.git] / app / views / license_groups / browse.html.erb
1 <div>
2 <p>
3 <div>id</div>
4 <%= @license_group.id %>
5 </p>
6 <p>
7 <%= h @license_group.name %>
8 </p>
9 <p>
10 <div>name</div>
11 <%= h @license_group.name %>
12 </p>
13 <p>
14 <div>classname</div>
15 <%= h @license_group.classname %>
16 </p>
17 <p>
18 <div>caption</div>
19 <%= h @license_group.caption %>
20 </p>
21 <p>
22 <div>url</div>
23 <%= h @license_group.url %>
24 </p>
25 <p>
26 <%= @license_group.created_at %>
27 </p>
28 <p>
29 <%= @license_group.updated_at %>
30 </p>
31 </div>
32 <h1>Listing licenses</h1>
33
34 <table>
35   <tr>
36     <th>id</th>
37     <th>license_group_id</th>
38     <th>name</th>
39     <th>caption</th>
40     <th>url</th>
41     <th>system_picture_id</th>
42     <th>settings</th>
43     <th>created_at</th>
44     <th>updated_at</th>
45   </tr>
46
47 <% @license_group.licenses.each do |license| %>
48   <tr>
49     <td><%= link_to license.id, :action => :browse, :id => license.id %></td>
50     <td><%= link_to license.license_group_id, :controller => 'license_groups', :action => :browse, :id => license.license_group_id %></td>
51     <td><%= h license.name %></td>
52     <td><%= h license.caption %></td>
53     <td><%= h license.url %></td>
54     <td><%= link_to license.system_picture_id, :controller => 'system_pictures', :action => :browse, :id => license.system_picture_id %></td>
55     <td><%= h license.settings %></td>
56     <td><%= license.created_at %></td>
57     <td><%= license.updated_at %></td>
58   </tr>
59 <% end -%>
60 </table>
61
62 <%= link_to 'Back', :action => :list %>