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.0.5 app/views/groups/list.rhtml
backlog-0.1.0 app/views/groups/list.rhtml
backlog-0.1.1 app/views/groups/list.rhtml
backlog-0.1.2 app/views/groups/list.rhtml
backlog-0.10.0 app/views/groups/list.rhtml
backlog-0.10.1 app/views/groups/list.rhtml
backlog-0.10.4 app/views/groups/list.rhtml
backlog-0.10.5 app/views/groups/list.rhtml
backlog-0.10.2 app/views/groups/list.rhtml
backlog-0.10.3 app/views/groups/list.rhtml
backlog-0.10.6 app/views/groups/list.rhtml
backlog-0.10.7 app/views/groups/list.rhtml
backlog-0.12.0 app/views/groups/list.rhtml
backlog-0.11.0 app/views/groups/list.rhtml
backlog-0.10.8 app/views/groups/list.rhtml
backlog-0.12.2 app/views/groups/list.rhtml
backlog-0.12.1 app/views/groups/list.rhtml
backlog-0.12.4 app/views/groups/list.rhtml
backlog-0.12.3 app/views/groups/list.rhtml
backlog-0.13.1 app/views/groups/list.rhtml