OSDN Git Service

t#32025:comic rename
[pettanr/pettanr.git] / app / views / home / scroll_panels.html.erb
diff --git a/app/views/home/scroll_panels.html.erb b/app/views/home/scroll_panels.html.erb
new file mode 100644 (file)
index 0000000..a99f490
--- /dev/null
@@ -0,0 +1,9 @@
+<h1><%= t '.title' -%></h1>
+
+<table>
+  <% @stories.each do |story| %>
+    <%= render 'stories/list_item', :story => story, :author => @author %>
+  <% end %>
+</table>
+<%= paginate(@paginate) %>
+<%= link_to t('stories.new.title'), new_story_path %>