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

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

<%= notice %>

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

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

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

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

<% @comic.stories.each do |story| %> <% if story.visible? @author -%>
<%= 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 @comic.created_at %>

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

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

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

<% @story = Story.new -%> <% @story.supply_default -%> <% @story.attributes = {:comic_id => @comic.id} -%> <% end %>