OSDN Git Service

rename lisence to license
[pettanr/pettanr.git] / app / views / licenses / list.html.erb
1 <h1>Listing licenses</h1>
2
3 <table>
4   <tr>
5     <th>id</th>
6     <th>name</th>
7     <th>url</th>
8     <th>cc_by</th>
9     <th>cc_sa</th>
10     <th>cc_nd</th>
11     <th>cc_nc</th>
12     <th>no_resize</th>
13     <th>no_flip</th>
14     <th>no_convert</th>
15     <th>keep_aspect_ratio</th>
16     <th>created_at</th>
17     <th>updated_at</th>
18     <th></th>
19   </tr>
20
21 <% @licenses.each do |license| %>
22   <tr>
23     <td><%= link_to license.id, :action => :browse, :id => license.id %></td>
24     <td><%= h license.name %></td>
25     <td><%= h license.url %></td>
26     <td><%= license.cc_by %></td>
27     <td><%= license.cc_sa %></td>
28     <td><%= license.cc_nd %></td>
29     <td><%= license.cc_nc %></td>
30     <td><%= license.no_resize %></td>
31     <td><%= license.no_flip %></td>
32     <td><%= license.no_convert %></td>
33     <td><%= license.keep_aspect_ratio %></td>
34     <td><%= license.created_at %></td>
35     <td><%= license.updated_at %></td>
36   </tr>
37 <% end -%>
38 </table>
39 <%= link_to 'new original license', new_original_license_path %>