OSDN Git Service

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