OSDN Git Service

Merge branch 'v06' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v06
[pettanr/pettanr.git] / app / views / colors / index.html.erb
1 <h1><%= t '.title' -%></h1>
2
3 <table>
4 <% @colors.each do |c| %>
5   <tr>
6     <td style="color: #<%= format("%06x", c.code ^ 0xffffff) -%>; background-color: #<%= format("%06x", c.code) -%>;"><%= link_to h(c.name), color_path(c) %></td>
7   </tr>
8 <% end -%>
9 </table>