<% if @author %>
- <h2><%= t('panels.show.new_scrolls') -%></h2>
- <table>
- <% @new_scrolls.each do |scroll| %>
- <%= render 'append_scroll', :panel => @panel, :scroll => scroll, :author => @author %>
- <% end %>
- </table>
- <h2><%= t('panels.show.fresh_scrolls') -%></h2>
- <table>
- <% @fresh_scrolls.each do |scroll| %>
- <%= render 'append_scroll', :panel => @panel, :scroll => scroll, :author => @author %>
- <% end %>
- </table>
<h2><%= t('panels.show.copy') -%></h2>
<%= form_for(Panel.new, :html => {:jqform => 'pettanr-panel-form'}) do |f| %>
<%= submit_tag t('panels.show.inspire') -%>
</div>
<% end %>
+
+ <h2><%= t('scroll_panels.append.new_scrolls') -%></h2>
+ <table>
+ <% @new_scrolls.each do |scroll| %>
+ <%= render 'scroll_panels/append_scroll', :panel => @panel, :scroll => scroll, :author => @author %>
+ <% end %>
+ </table>
+ <h2><%= t('scroll_panels.append.fresh_scrolls') -%></h2>
+ <table>
+ <% @fresh_scrolls.each do |scroll| %>
+ <%= render 'scroll_panels/append_scroll', :panel => @panel, :scroll => scroll, :author => @author %>
+ <% end %>
+ </table>
+ <h2><%= t('sheet_panels.append.new_sheets') -%></h2>
+ <table>
+ <% @new_sheets.each do |sheet| %>
+ <%= render 'sheet_panels/append_sheet', :panel => @panel, :sheet => sheet, :author => @author %>
+ <% end %>
+ </table>
+ <h2><%= t('sheet_panels.append.fresh_sheets') -%></h2>
+ <table>
+ <% @fresh_sheets.each do |sheet| %>
+ <%= render 'sheet_panels/append_sheet', :panel => @panel, :sheet => sheet, :author => @author %>
+ <% end %>
+ </table>
<% end %>