Sha256: 538e37a40aca89d76083e6599bfd2183d4a0a1cc3b1cf65d6ee32ac39a7774d8
Contents?: true
Size: 747 Bytes
Versions: 5
Compression:
Stored size: 747 Bytes
Contents
<h1>Listing public_holidays</h1> <table> <tr> <% for column in PublicHoliday.content_columns %> <th><%= column.human_name %></th> <% end %> </tr> <% for public_holiday in @public_holidays %> <tr> <% for column in PublicHoliday.content_columns %> <td><%=h public_holiday.send(column.name) %></td> <% end %> <td><%= link_to 'Show', :action => 'show', :id => public_holiday %></td> <td><%= link_to 'Edit', :action => 'edit', :id => public_holiday %></td> <td><%= link_to 'Destroy', { :action => 'destroy', :id => public_holiday }, :confirm => 'Are you sure?', :method => :post %></td> </tr> <% end %> </table> <%=will_paginate @public_holidays %> <br /> <%= link_to 'New public_holiday', :action => 'new' %>
Version data entries
5 entries across 5 versions & 1 rubygems