changeset 106 | eac4098d544d |
105:8293977e9a30 | 106:eac4098d544d |
---|---|
1 <table class="table"> |
|
2 <tr> |
|
3 <th>Operating systems</th> |
|
4 <th>Operations</th> |
|
5 </tr> |
|
6 <% operating_systems.each do |os| %> |
|
7 <tr> |
|
8 <td><%= link_to os.name, [:settings, os] %></td> |
|
9 <td> |
|
10 <%= link_to( [:settings, os], |
|
11 method: :delete, |
|
12 class: "btn btn-danger") { "#{glyph(:trash)} Delete".html_safe } %> |
|
13 </td> |
|
14 </tr> |
|
15 <% end %> |
|
16 </table> |