Sha256: 37af2c4f78e29f2ce84220ed5f2a4d9af43a7ec9e671fe5c83d9147b4fea4e3d
Contents?: true
Size: 977 Bytes
Versions: 2
Compression:
Stored size: 977 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> <%= link_to 'Previous page', { :page => @article_pages.current.previous } if @article_pages.current.previous %> <%= link_to 'Next page', { :page => @article_pages.current.next } if @article_pages.current.next %> <br /> <%= link_to _('New article'), :action => 'new' %> <br /> <br /> <%= link_to 'error_messages_for Test', :action => 'multi_error_messages_for' %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gettext-1.10.0-mswin32 | test/rails/app/views/articles/list.rhtml |
gettext-1.10.0 | test/rails/app/views/articles/list.rhtml |