OSDN Git Service

Merge branch 'v06' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v06
[pettanr/pettanr.git] / app / views / sheets / _standard.html.erb
index 663de28..c49e803 100644 (file)
@@ -1,9 +1,9 @@
-<%= render 'sheets/body', :sheet_panels => sheet_panels, :sheet => sheet, :author => author %>
+<%= render 'sheets/body', :sheet => sheet, :operators => operators %>
 <div class="sheet-data">
-  <% sheet_panels.each do |sheet_panel| %>
-    <%= render 'sheet_panels/play_footer', :sheet_panel => sheet_panel, :author => author %>
+  <% sheet.parts_element.each do |sheet_panel| %>
+    <%= render 'sheet_panels/play_footer', :sheet_panel => sheet_panel, :operators => operators %>
   <% end %>
-  <%= render 'sheet_panels/licensed_pictures', :licensed_pictures => SheetPanel.licensed_pictures(sheet_panels) %>
+  <%= render 'sheet_panels/licensed_pictures', :licensed_pictures => sheet.licensed_pictures %>
 </div>
 <div class="sheet-break">
 </div>