1 <h1><%= h @comic.title %> <%= link_to 'p', comic_path(@comic) %> <%= link_to 'edit', edit_comic_path(@comic) %></h1>
3 <% @stories.each do |story| %>
5 <%= render 'header', :story => story, :author => @author %>
6 <%= render 'panels/body', :panel => story.panel, :author => @author %>
7 <%= render 'panels/footer', :panel => story.panel, :author => @author %>
9 <%= render 'licensed_pictures', :licensed_pictures => Story.licensed_pictures(@stories) %>
10 <% if @comic.own? @author -%>
11 <%= link_to 'add panel', new_story_path, :remote => true %>
12 <div id="story-create">
16 <%= link_to 'Back', comics_path %>