OSDN Git Service

t#32046:
[pettanr/pettanr.git] / app / views / home / story_sheets.html.erb
diff --git a/app/views/home/story_sheets.html.erb b/app/views/home/story_sheets.html.erb
new file mode 100644 (file)
index 0000000..52af722
--- /dev/null
@@ -0,0 +1,9 @@
+<h1><%= t '.title' -%></h1>
+
+<table>
+  <% @story_sheets.each do |story_sheet| %>
+    <%= render 'story_sheets/list_item', :story_sheet => story_sheet, :author => @author %>
+  <% end %>
+</table>
+<%= paginate(@paginate) %>
+<%= link_to t('story_sheets.new.title'), new_story_sheet_path %>