<% @page_title = t('.title') + ':' + @item.title %>

<%= 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) %>

<%= t_m 'Scroll.author_id' -%>: <%= link_to h(@item.author.name), author_path(@item.author) %>

<%= t_m 'Scroll.description' -%>: <%= h(@item.description) %>

<%= t_m 'Scroll.created_at' -%>: <%= l @item.created_at %>

<%= t_m 'Scroll.updated_at' -%>: <%= l @item.updated_at %>

pages: <%= @play_count %>

<% if @item.own? @operators -%>

<%= t('editor') -%>

<%= notice %>

<%= t_m 'Scroll.visible' -%>: <%= t_selected_item('scroll_visible_items', @item.visible) %>

<%= link_to t('link.edit'), edit_scroll_path(@item) %> <%= link_to t('link.destroy'), scroll_path(@item), :method => :delete %>

<%= link_to t('scrolls.show.leaf'), play_scroll_path(@item, :anchor => :editor) %>
<% end %>