- <% @panel = story.panel %>
+ <% @panel = @story.panel %>
<%= render 'panels/standard' %>
<% if @story.author.id == @author.id -%>
<span>
t
</div>
<% end -%>
-<% end %>
-<% if @comic.author.id == @author.id -%>
+<% if @story.comic.own? @author -%>
<%= link_to 'add panel', new_story_path, :remote => true %>
<div id="story-create">
t
</div>
+<% end %>