OSDN Git Service

merge v06sheet
[pettanr/pettanr.git] / app / views / scroll_panels / index.html.erb
diff --git a/app/views/scroll_panels/index.html.erb b/app/views/scroll_panels/index.html.erb
new file mode 100644 (file)
index 0000000..74213ff
--- /dev/null
@@ -0,0 +1,8 @@
+<h1><%= t '.title' -%></h1>
+<table>
+  <% @scroll_panels.each do |scroll_panel| %>
+    <%= render 'list_item', :scroll_panel => scroll_panel, :author => @author %>
+  <% end %>
+</table>
+<%= paginate(@paginate) %>
+<%= link_to t('scroll_panels.new.title'), new_scroll_panel_path %>