X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fviews%2Fpanels%2Findex.html.erb;h=46cf3f3b628c6b0947822dc06909e6cb0c17ecc1;hb=26f1bb0f8cf40ebd82495945236f83542dfe21ed;hp=a46a178c94664703947907920c32fe54c941a64b;hpb=d293932f34471ad6000d3ab4afb8daee52bbc399;p=pettanr%2Fpettanr.git diff --git a/app/views/panels/index.html.erb b/app/views/panels/index.html.erb index a46a178c..46cf3f3b 100644 --- a/app/views/panels/index.html.erb +++ b/app/views/panels/index.html.erb @@ -1,8 +1,6 @@ -

Listing panels 最近の投稿

+

<%= t '.title' -%>

<% @panels.each do |panel| %> <%= render 'standard', :panel => panel, :author => @author %> <% end %> -<%= link_to 'open form', new_panel_path, :remote => true %> -
- ... -
+<%= paginate(@paginate) %> +<%= link_to t('panels.new.title'), new_panel_path %>