-<% @page_title = t('.title') + ':' + @comic.title %>
+<% @page_title = t('.title') + ':' + @item.title %>
<h1><%= t('.title') %></h1>
<p id="notice"><%= notice %></p>
<p>
- <b><%= t_m 'Comic.title' -%>:</b>
- <%= link_to h(@comic.title), :controller => 'stories', :action => :comic, :id => @comic.id %>
+ <b><%= t_m 'Scroll.title' -%>:</b>
+ <%= link_to h(@item.title), play_scroll_path(@item) %>
</p>
<p>
- <b><%= t_m 'Comic.description' -%>:</b>
- <%= h(@comic.description) %>
+ <b><%= t_m 'Scroll.description' -%>:</b>
+ <%= h(@item.description) %>
</p>
<p>
- <b><%= t_m 'Comic.visible' -%>:</b>
- <%= t_selected_item('comic_visible_items', @comic.visible) %>
+ <b><%= t_m 'Scroll.visible' -%>:</b>
+ <%= t_selected_item('scroll_visible_items', @item.visible) %>
</p>
<p>
- <b><%= t_m 'Comic.author_id' -%>:</b>
- <%= link_to h(@comic.author.name), author_path(@comic.author) %>
+ <b><%= t_m 'Scroll.author_id' -%>:</b>
+ <%= link_to h(@item.author.name), author_path(@item.author) %>
</p>
<p>
- <b><%= t_m 'Comic.created_at' -%>:</b>
- <%= l @comic.created_at %>
+ <b><%= t_m 'Scroll.created_at' -%>:</b>
+ <%= l @item.created_at %>
</p>
<p>
- <b><%= t_m 'Comic.updated_at' -%>:</b>
- <%= l @comic.updated_at %>
+ <b><%= t_m 'Scroll.updated_at' -%>:</b>
+ <%= l @item.updated_at %>
</p>
-<%= link_to t('link.edit'), edit_comic_path(@comic) %>
+<% if @item.own? @operators -%>
+ <%= link_to t('link.edit'), edit_scroll_path(@item) %>
+ <h3><%= t('scroll_panels.append.new_panels') -%></h3>
+ <table>
+ <% @new_panel_items.each do |panel| %>
+ <%= render 'scroll_panels/append_panel', :panel => panel, :scroll => @item, :operators => @operators %>
+ <% end %>
+ </table>
+<% end %>