-<% @page_title = t('.title') + ':' + @scroll.title %>
-<h1><%= t('.title') %></h1>
-<p id="notice"><%= notice %></p>
-
-<p>
- <b><%= t_m 'Scroll.title' -%>:</b>
- <%= link_to h(@scroll.title), play_scroll_path(@scroll) %>
-</p>
-
-<p>
- <b><%= t_m 'Scroll.description' -%>:</b>
- <%= h(@scroll.description) %>
-</p>
-
-<p>
- <b><%= t_m 'Scroll.visible' -%>:</b>
- <%= t_selected_item('scroll_visible_items', @scroll.visible) %>
-</p>
+<% @page_title = t('.title') + ':' + @item.title %>
+<h1>
+ <%= link_to icon_tag('Scroll'), scroll_path(@item) %>
+ <%= link_to h(@item.title), play_scroll_path(@item) %>
+ <%= link_to icon_tag('Prof'), scroll_path(@item, :format => :prof) %>
+</h1>
<p>
<b><%= t_m 'Scroll.author_id' -%>:</b>
- <%= link_to h(@scroll.author.name), author_path(@scroll.author) %>
+ <%= link_to h(@item.author.name), author_path(@item.author) %>
</p>
-<p>
- <b><%= t_m 'Scroll.created_at' -%>:</b>
- <%= l @scroll.created_at %>
-</p>
+<div>
+ <b><%= t_m 'Scroll.description' -%>:</b>
+ <%= h(@item.description) %>
+</div>
-<p>
- <b><%= t_m 'Scroll.updated_at' -%>:</b>
- <%= l @scroll.updated_at %>
-</p>
+<div>
+ <p>
+ <b><%= t_m 'Scroll.created_at' -%>:</b>
+ <%= l @item.created_at %>
+ </p>
+ <p>
+ <b><%= t_m 'Scroll.updated_at' -%>:</b>
+ <%= l @item.updated_at %>
+ </p>
+ <p>
+ <b>panels:</b>
+ <%= @play_list.total %>
+ </p>
+</div>
-<%= link_to t('link.edit'), edit_scroll_path(@scroll) %>
-<% if @scroll.own? @author -%>
- <h3><%= t('scroll_panels.append.new_panels') -%></h3>
- <table>
- <% @new_panels.each do |panel| %>
- <%= render 'scroll_panels/append_panel', :scroll => @scroll, :panel => panel, :author => @author %>
- <% end %>
- </table>
+<% if @item.own? @operators -%>
+ <h3 class="edit"><%= t('editor') -%></h3>
+ <p id="notice"><%= notice %></p>
+
+ <p>
+ <b><%= t_m 'Scroll.visible' -%>:</b>
+ <%= t_selected_item('scroll_visible_items', @item.visible) %>
+ </p>
+ <p>
+ <%= link_to t('link.edit'), edit_scroll_path(@item) %>
+ <%= link_to t('link.destroy'), scroll_path(@item), :method => :delete %>
+ </p>
+
+ <div>
+ <%= link_to t('scrolls.show.leaf'), play_scroll_path(@item, :anchor => :editor) %>
+ </div>
<% end %>