<% @page_caption = @item.caption %>
<p id="notice"><%= notice %></p>
-<% if @item.sheet_elements.empty? -%>
+<% if @item.sheet_panels.empty? -%>
<h2><%= t('sheet_panels.sheet.empty') %></h2>
<% else %>
<div id=" @item.tag_id wrapper" sheet_id=" @item.tag_sheet_id " class="pettanr-sheet-wrapper" editable="true">