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

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

<%= notice %>

<%= t_m 'Comic.title' -%>: <%= link_to h(@item.title), comic_path(@item) %>

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

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

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

<% @item.stories.each do |story| %> <% if story.visible? @operators -%>
<%= link_to t('stories.show.t', :t => story.disp_t), story_path(story) %> <%= link_to h(story.title), play_story_path(story) %>
<% end %> <% end %>

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

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

<% if @item.own? @operators -%> <%= link_to t('link.edit'), edit_comic_path(@item) %> <%= link_to t('link.destroy'), comic_path(@item), :method => :delete %>

<%= t('stories.index.new') %>

<% @story = Story.new -%> <% @story.supply_default -%> <% @story.attributes = {:comic_id => @item.id} -%> <%= render 'stories/form' %> <% end %>