Sha256: 8b748504a1bc2ebeeb1ee7da9d30d8aad106ea51faf74db0cf519b9a541c958e
Contents?: true
Size: 763 Bytes
Versions: 4
Compression:
Stored size: 763 Bytes
Contents
<h1><%= _("Listing articles") %></h1> <table> <tr> <% for column in Article.content_columns %> <th><%= column.human_name %></th> <% end %> </tr> <% for article in @articles %> <tr> <% for column in Article.content_columns %> <td><%=h article.send(column.name) %></td> <% end %> <td><%= link_to _('Show'), :action => 'show', :id => article %></td> <td><%= link_to _('Edit'), :action => 'edit', :id => article %></td> <td><%= link_to _('Destroy'), { :action => 'destroy', :id => article }, :confirm => _('Are you sure?'), :method => :post %></td> </tr> <% end %> </table> <br /> <%= link_to _('New article'), :action => 'new' %> <br /> <br /> <%= link_to 'error_messages_for Test', :action => 'multi_error_messages_for' %>
Version data entries
4 entries across 4 versions & 1 rubygems