OSDN Git Service

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