Sha256: 6b7a1f075969d813be1675498bceaa0bf21c1a45522c67ca6ca8637a5f7571fa
Contents?: true
Size: 856 Bytes
Versions: 18
Compression:
Stored size: 856 Bytes
Contents
<h1>Listing absences</h1> <table> <tr> <% for column in Absence.content_columns %> <th><%= column.human_name %></th> <% end %> </tr> <% for absence in @absences %> <tr> <% for column in Absence.content_columns %> <td><%=h absence.send(column.name) %></td> <% end %> <td><%= link_to 'Show', :action => 'show', :id => absence %></td> <td><%= link_to 'Edit', :action => 'edit', :id => absence %></td> <td><%= link_to 'Destroy', { :action => 'destroy', :id => absence }, :confirm => 'Are you sure?', :method => :post %></td> </tr> <% end %> </table> <%= link_to 'Previous page', { :page => @absence_pages.current.previous } if @absence_pages.current.previous %> <%= link_to 'Next page', { :page => @absence_pages.current.next } if @absence_pages.current.next %> <br /> <%= link_to 'New absence', :action => 'new' %>
Version data entries
18 entries across 18 versions & 1 rubygems