OSDN Git Service

t#30102#30122:update i18n index
[pettanr/pettanr.git] / app / views / stories / show.html.erb
1   <%= render 'panels/standard', :panel => @story.panel, :author => @author %>
2   <% if @story.author.id == @author.id -%>
3     <span>
4     t:<%= @story.t %>
5     </span>
6 <%= button_to 'Destroy', @story, confirm: 'Are you sure?', method: :delete %>
7     <%= render 'editform' %>
8     <%= link_to 'open js', edit_story_path(@story), :remote => true %>
9       <div id="story-update-<%= @story.id -%>">
10         t
11       </div>
12   <% end -%>
13 <% if @story.comic.own? @author -%>
14   <%= link_to 'add panel', new_story_path, :remote => true %>
15     <div id="story-create">
16       t
17     </div>
18 <% end %>