OSDN Git Service

import all source code
[pettanr/pettanr.git] / app / views / system / waiting_list.html.erb
diff --git a/app/views/system/waiting_list.html.erb b/app/views/system/waiting_list.html.erb
new file mode 100644 (file)
index 0000000..c6e8fe5
--- /dev/null
@@ -0,0 +1,15 @@
+<h1>Listing artists</h1>
+
+<table>
+  <tr>
+    <th>author</th>
+    <th></th>
+  </tr>
+
+<% @artists.each do |artist| %>
+  <tr>
+    <td><%= artist.author_id %></td>
+    <td><%= link_to 'Show', artist %></td>
+  </tr>
+<% end %>
+</table>