Sha256: 41557f44a08ef84f6e5b47ba6c0efa2be6e0ec78c674e10c9950ce2801f72d20

Contents?: true

Size: 676 Bytes

Versions: 6

Compression:

Stored size: 676 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 />

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gettext_rails-2.1.0 test/app/views/articles/list.html.erb
gettext_rails-2.0.2 test/app/views/articles/list.html.erb
gettext_rails-2.0.0 test/app/views/articles/list.html.erb
gettext_rails-2.0.1 test/app/views/articles/list.html.erb
gettext_rails-2.0.3 test/app/views/articles/list.html.erb
gettext_rails-2.0.4 test/app/views/articles/list.html.erb