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

Version Path
backlog-0.24.0 app/views/absences/list.rhtml
backlog-0.25.0 app/views/absences/list.rhtml
backlog-0.26.0 app/views/absences/list.rhtml
backlog-0.28.0 app/views/absences/list.rhtml
backlog-0.29.0 app/views/absences/list.rhtml
backlog-0.31.0 app/views/absences/list.rhtml
backlog-0.30.0 app/views/absences/list.rhtml
backlog-0.32.0 app/views/absences/list.rhtml
backlog-0.31.1 app/views/absences/list.rhtml
backlog-0.33.0 app/views/absences/list.rhtml
backlog-0.33.1 app/views/absences/list.rhtml
backlog-0.34.1 app/views/absences/list.rhtml
backlog-0.34.2 app/views/absences/list.rhtml
backlog-0.34 app/views/absences/list.rhtml
backlog-0.35.0 app/views/absences/list.rhtml
backlog-0.35.2 app/views/absences/list.rhtml
backlog-0.35.1 app/views/absences/list.rhtml
backlog-0.35.3 app/views/absences/list.rhtml