OSDN Git Service

fix leaf view
[pettanr/pettanr.git] / app / views / story_sheets / _play_header.html.erb
1 <div width="100%">
2 <table class="no-border">
3   <tr>
4     <td width="50%">
5       <%= link_to t('stories.show.t', :t => story.disp_t), story_path(story) %>
6       <%= link_to_if story, h(story.title), play_story_path(story) %>
7     </td>
8     <td width="50%">
9       <%= link_to comic_icon(:object => story.comic, :size => 25), comic_path(story.comic) %>
10       <%= link_to h(truncate(story.comic.title, :length => 40)), comic_path(story.comic) %>
11     </td>
12   </td>
13   </tr>
14 </table>
15 </div>
16