OSDN Git Service

t#32046:
[pettanr/pettanr.git] / app / views / story_sheets / _play_header.html.erb
diff --git a/app/views/story_sheets/_play_header.html.erb b/app/views/story_sheets/_play_header.html.erb
new file mode 100644 (file)
index 0000000..9276d65
--- /dev/null
@@ -0,0 +1,16 @@
+<div width="100%">
+<table class="no-border">
+  <tr>
+    <td width="50%">
+      <%= link_to t('stories.show.t', :t => story.disp_t), story_path(story) %>
+      <%= link_to_if story, h(story.title), play_story_path(story) %>
+    </td>
+    <td width="50%">
+      <%= link_to comic_icon(:object => story.comic, :size => 25), comic_path(story.comic) %>
+      <%= link_to h(truncate(story.comic.title, :length => 40)), comic_path(story.comic) %>
+    </td>
+  </td>
+  </tr>
+</table>
+</div>
+