OSDN Git Service

t#:
[pettanr/pettanr.git] / app / views / sheets / _body.html.erb
index cdc19f2..e1c58df 100644 (file)
@@ -1,5 +1,5 @@
 <div id="<%= sheet.tag_id -%>" sheet_id="<%= sheet.tag_sheet_id -%>" class="sheet" style="width:<%= sheet.width %>px;height:<%= sheet.height %>px;">
-  <% if sheet.visible? author -%>
+  <% if sheet.visible? @operators -%>
     <% sheet.sheet_elements.each do |elm| %>
       <%= render elm.class.to_s.tableize + '/element', :elm => elm, :author => author %>
     <% end %>