1 <h1><%= t '.title' -%></h1>
2 <p id="notice"><%= notice %></p>
3 <%= render 'comic_header', :comic => @comic, :author => @author %>
5 <% if @stories.empty? -%>
6 <h2><%= t('stories.comic.empty') %></h2>
8 <% @stories.each do |story| %>
10 <%= render 'panels/body', :panel => story.panel, :author => @author %>
12 <%= render 'footer', :story => story, :author => @author %>
14 <%= render 'licensed_pictures', :licensed_pictures => Story.licensed_pictures(@stories) %>
16 <% if @comic.own? @author -%>
17 <h3><%= t('stories.new.title') %></h3>
18 <% @story = Story.new ; @story.comic_id = @comic.id ; @story.t = Story.new_t @comic.id -%>
19 <%= form_for(@story) do |f| %>
22 <%= f.hidden_field :comic_id %>
25 <%= f.label :t %><br />
26 <%= f.number_field :t %>
29 <%= f.label :panel_id %><br />
30 <%= f.number_field :panel_id %>