Sha256: cecf9e6ebbd196449a328d19bfb0f8fdf2813611f98340ad085474f688c890ab

Contents?: true

Size: 672 Bytes

Versions: 5

Compression:

Stored size: 672 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>

<%=will_paginate @absences %>
<br />

<%= link_to 'New absence', :action => 'new' %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
backlog-0.37.2 app/views/absences/list.rhtml
backlog-0.37.1 app/views/absences/list.rhtml
backlog-0.36.2 app/views/absences/list.rhtml
backlog-0.35.4 app/views/absences/list.rhtml
backlog-0.35.5 app/views/absences/list.rhtml