OSDN Git Service

merge v06sheet
[pettanr/pettanr.git] / app / views / home / scrolls.html.erb
diff --git a/app/views/home/scrolls.html.erb b/app/views/home/scrolls.html.erb
new file mode 100644 (file)
index 0000000..bba50b7
--- /dev/null
@@ -0,0 +1,10 @@
+<h1><%= t '.title' -%></h1>
+<p id="notice"><%= notice %></p>
+
+<table>
+  <% @scrolls.each do |scroll| %>
+    <%= render 'scrolls/list_item', :scroll => scroll, :author => @author %>
+  <% end %>
+</table>
+<%= paginate(@paginate) %>
+<%= link_to t('scrolls.new.title'), new_scroll_path %>