1 <% @page_title = t('.title') + ':' + @comic.title %>
2 <h1><%= t('.title') %></h1>
3 <p id="notice"><%= notice %></p>
6 <b><%= t_m 'Comic.title' -%>:</b>
7 <%= link_to h(@comic.title), comic_path(@comic) %>
11 <b><%= t_m 'Comic.description' -%>:</b>
12 <%= h(@comic.description) %>
16 <b><%= t_m 'Comic.visible' -%>:</b>
17 <%= t_selected_item('comic_visible_items', @comic.visible) %>
21 <b><%= t_m 'Comic.author_id' -%>:</b>
22 <%= link_to h(@comic.author.name), author_path(@comic.author) %>
25 <% @comic.stories.each do |story| %>
26 <% if story.visible? @author -%>
28 <%= link_to t('stories.show.t', :t => story.disp_t), story_path(story) %>
29 <%= link_to h(story.title), play_story_path(story) %>
34 <b><%= t_m 'Comic.created_at' -%>:</b>
35 <%= l @comic.created_at %>
39 <b><%= t_m 'Comic.updated_at' -%>:</b>
40 <%= l @comic.updated_at %>
43 <% if @comic.own? @operators -%>
44 <%= link_to t('link.edit'), edit_comic_path(@comic) %>
45 <%= link_to t('link.destroy'), comic_path(@comic), :method => :delete %>
48 <%= t('stories.index.new') %>
50 <% @story = Story.new -%>
51 <% @story.supply_default -%>
52 <% @story.attributes = {:comic_id => @comic.id} -%>
53 <%= render 'stories/form' %>