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

<%= t('.title') %>

<%= notice %>

<%= t_m 'Scroll.title' -%>: <%= link_to h(@scroll.title), play_scroll_path(@scroll) %>

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

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

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

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

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

<% if @scroll.own? @author -%> <%= link_to t('link.edit'), edit_scroll_path(@scroll) %>

<%= t('scroll_panels.append.new_panels') -%>

<% @new_panels.each do |panel| %> <%= render 'scroll_panels/append_panel', :scroll => @scroll, :panel => panel, :author => @author %> <% end %>
<% end %>