OSDN Git Service

fix play leaf
[pettanr/pettanr.git] / app / views / comic_stories / _append_story.html.erb
1 <tr>
2   <td>
3     <%= link_to story_icon(:object => story, :size => 25), story_path(story) %>
4     <%= link_to author_icon(:object => story.author, :size => 17), author_path(story.author) %>
5   </td>
6   <td>
7     <%= link_to h(truncate(h(story.title), :length => 40)), story_path(story) %>
8   </td>
9   <td>
10     <%= l story.updated_at %>
11   </td>
12   <td>
13     <% @comic_story = ComicStory.new :comic_id => comic.id, :story_id => story.id -%>
14     <%= form_for(@comic_story) do |f| %>
15       <%= f.hidden_field :comic_id %>
16       <%= f.hidden_field :t %>
17       <%= f.hidden_field :story_id %>
18       <%= f.submit t('comic_stories.append.story') %>
19     <% end %>
20   </td>
21 </tr>