Sha256: 5703fdcecac9c7a1e494e4070dc72337b6b725907e3f680093818925d45dbd28

Contents?: true

Size: 828 Bytes

Versions: 77

Compression:

Stored size: 828 Bytes

Contents

<h1>Listing groups</h1>

<table>
  <tr>
  <% for column in Group.content_columns %>
    <th><%= column.human_name %></th>
  <% end %>
  </tr>
  
<% for group in @groups %>
  <tr>
  <% for column in Group.content_columns %>
    <td><%=h group.send(column.name) %></td>
  <% end %>
    <td><%= link_to 'Show', :action => 'show', :id => group %></td>
    <td><%= link_to 'Edit', :action => 'edit', :id => group %></td>
    <td><%= link_to 'Destroy', { :action => 'destroy', :id => group }, :confirm => 'Are you sure?', :method => :post %></td>
  </tr>
<% end %>
</table>

<%= link_to 'Previous page', { :page => @group_pages.current.previous } if @group_pages.current.previous %>
<%= link_to 'Next page', { :page => @group_pages.current.next } if @group_pages.current.next %> 

<br />

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

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
backlog-0.7.0 app/views/groups/list.rhtml
backlog-0.7.1 app/views/groups/list.rhtml
backlog-0.7.10 app/views/groups/list.rhtml
backlog-0.7.12 app/views/groups/list.rhtml
backlog-0.7.11 app/views/groups/list.rhtml
backlog-0.7.2 app/views/groups/list.rhtml
backlog-0.7.3 app/views/groups/list.rhtml
backlog-0.7.5 app/views/groups/list.rhtml
backlog-0.7.4 app/views/groups/list.rhtml
backlog-0.7.7 app/views/groups/list.rhtml
backlog-0.7.6 app/views/groups/list.rhtml
backlog-0.7.8 app/views/groups/list.rhtml
backlog-0.7.9 app/views/groups/list.rhtml
backlog-0.8.0 app/views/groups/list.rhtml
backlog-0.9.0 app/views/groups/list.rhtml
backlog-0.8.1 app/views/groups/list.rhtml
backlog-0.9.1 app/views/groups/list.rhtml