<% @panel = @story.panel %> <%= render 'panels/standard' %> <% if @story.author.id == @author.id -%> t:<%= @story.t %> <%= button_to 'Destroy', @story, confirm: 'Are you sure?', method: :delete %> <%= render 'editform' %> <%= link_to 'open js', edit_story_path(@story), :remote => true %>
t
<% end -%> <% if @story.comic.own? @author -%> <%= link_to 'add panel', new_story_path, :remote => true %>
t
<% end %>