1 <h1><%= t '.title' -%></h1>
5 <th><%= t_m 'Color.id' -%></th>
6 <th><%= t_m 'Color.name' -%></th>
7 <th><%= t_m 'Color.code' -%></th>
8 <th><%= t_m 'Color.code' -%></th>
9 <th><%= t_m 'Color.t' -%></th>
10 <th><%= t_m 'Color.created_at' -%></th>
11 <th><%= t_m 'Color.updated_at' -%></th>
14 <% @colors.each do |c| %>
17 <td><%= h c.name %></td>
18 <td><%= c.code %></td>
19 <td style="background-color: #<%= format("%06x", c.code) -%>;"></td>
21 <td><%= l c.created_at %></td>
22 <td><%= l c.updated_at %></td>