OSDN Git Service

pass test
[pettanr/pettanr.git] / app / views / panels / list.html.erb
index 90f3ecc..aaa0945 100644 (file)
@@ -1,10 +1,13 @@
 <h1>Listing panels</h1>
+<%= link_to 'open form', new_panel_path, :remote => true %>\r
+  <div id="newpanel">\r
+    uploader\r
+  </div>\r
 
 <table>
   <tr>
     <th>id</th>
     <th>Comic</th>
-    <th>bg</th>
     <th>Width</th>
     <th>Height</th>
     <th>Border</th>
@@ -22,7 +25,6 @@
   <tr>
     <td><%= link_to panel.id, :action => :browse, :id => panel.id %></td>
     <td><%= link_to panel.comic_id, :controller => 'comics', :action => :browse, :id => panel.comic_id %></td>
-    <td><%= link_to panel.resource_picture_id, :controller => 'resource_pictures', :action => :browse, :id => panel.resource_picture_id %></td>
     <td><%= panel.width %></td>
     <td><%= panel.height %></td>
     <td><%= panel.border %></td>