OSDN Git Service

merge v06sheet
[pettanr/pettanr.git] / app / views / panels / _append_comic.html.erb
diff --git a/app/views/panels/_append_comic.html.erb b/app/views/panels/_append_comic.html.erb
deleted file mode 100644 (file)
index 2190d65..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<tr>
-  <td>
-    <%= link_to comic_icon(:object => comic, :size => 25), comic_path(comic) %>
-    <%= link_to h(truncate(comic.title, :length => 40)), :controller => 'stories', :action => :comic, :id => comic.id %>
-    (<%= comic.stories.size -%>)
-  </td>
-  <td>
-    <%= distance_of_time_in_words_to_now comic.updated_at %>
-  </td>
-  <td>
-    <%= link_to author_icon(:object => comic.author, :size => 25), comic_path(comic.author) %>
-    <%= link_to h(truncate(comic.author.name, :length => 12)), author_path(comic.author) %>
-  </td>
-  <td>
-    <% if comic.own? author %>
-      <% @story = Story.new :comic_id => comic.id, :panel_id => panel.id %>
-      <%= form_for(@story) do |f| %>
-        <%= f.hidden_field :comic_id %>
-        <%= f.hidden_field :t %>
-        <%= f.hidden_field :panel_id %>
-        <div class="actions">
-          <%= f.submit t('panels.show.append') %>
-        </div>
-      <% end %>
-    <% end %>
-  </td>
-</tr>
-<tr>
-  <td colspan="4">
-    <%= h(truncate(comic.description, :length => 40)) %>
-  </td>
-</tr>