OSDN Git Service

t#31470:create pager
[pettanr/pettanr.git] / app / views / panels / index.html.erb
1 <h1><%= t '.title' -%></h1>
2 <% @panels.each do |panel| %>
3   <%= render 'standard', :panel => panel, :author => @author %>
4 <% end %>
5 <%= paginate(@paginate) %>
6 <%= link_to t('panels.new.title'), new_panel_path %>