1 <% @page_title = @comic.title %>
2 <h1><%= t '.title' -%></h1>
3 <p id="notice"><%= notice %></p>
4 <%= render 'comic_header', :comic => @comic, :author => @author %>
6 <% if @stories.empty? -%>
7 <h2><%= t('stories.comic.empty') %></h2>
9 <% @stories.each do |story| %>
11 <%= render 'panels/body', :panel => story.panel, :author => @author %>
13 <%= render 'footer', :story => story, :author => @author %>
15 <%= render 'licensed_pictures', :licensed_pictures => Story.licensed_pictures(@stories) %>
17 <% if @comic.own? @author -%>
18 <h3><%= t('stories.new.title') %></h3>
19 <% @story = Story.new ; @story.comic_id = @comic.id ; @story.t = Story.new_t @comic.id -%>
20 <%= form_for(@story) do |f| %>
23 <%= f.hidden_field :comic_id %>
26 <%= f.label :t %><br />
27 <%= f.number_field :t %>
30 <%= f.label :panel_id %><br />
31 <%= f.number_field :panel_id %>