Sha256: dde6602870d8ae457151d56b1016d1be1956a4df453a51b5625f785eaaa0c6a5

Contents?: true

Size: 370 Bytes

Versions: 4

Compression:

Stored size: 370 Bytes

Contents

<h1><%= _("GetText Sample Blog on RoR") %></h1>

<p style="text-align:right">
<%= link_to _('New article'), new_article_path %>
</p>
<% if @articles.size == 0 %>
  <p><%= _("No articles were found.") %></p>
<% else %>
  <%
     @articles.each_with_index do |article, index|
  %>
       <%= show_article(article) %>
  <%
       break if index > 1
     end
  %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gettext-1.92.0 samples/rails/app/views/articles/index.html.erb
gettext-1.90.0 samples/rails/app/views/articles/index.html.erb
gettext-1.91.0 samples/rails/app/views/articles/index.html.erb
gettext-1.93.0 samples/rails/app/views/articles/index.html.erb