OSDN Git Service

t#30009:fix views
[pettanr/pettanr.git] / app / views / stories / _header.html.erb
1 <table class="no-border">
2   <tr>
3     <td>
4       No.<%= link_to story.t, story_path(story) %>:
5     </td>
6     <td>
7       <%= link_to h(story.panel.author.name), author_path(story.panel.author) %>
8     </td>
9     <td>
10       <%= story.updated_at %>
11     </td>
12     <td>
13       <% if story.own? @author -%>
14         <%= link_to 'edit', edit_story_path(story), :remote => true %>
15           <span id="story-update-<%= @story.id -%>">
16             ...
17           </span>
18       <% end -%>
19     </td>
20   </tr>
21 </table>