OSDN Git Service

w
[pettanr/pettanr.git] / app / views / panels / index.html.erb
index a46a178..46cf3f3 100644 (file)
@@ -1,8 +1,6 @@
-<h1>Listing panels 最近の投稿</h1>
+<h1><%= t '.title' -%></h1>
 <% @panels.each do |panel| %>
   <%= render 'standard', :panel => panel, :author => @author %>
 <% end %>
-<%= link_to 'open form', new_panel_path, :remote => true %>
-  <div id="newpanel">
-    ...
-  </div>
+<%= paginate(@paginate) %>
+<%= link_to t('panels.new.title'), new_panel_path %>