OSDN Git Service

t#32046:
[pettanr/pettanr.git] / app / views / stories / _comic_header.html.erb
diff --git a/app/views/stories/_comic_header.html.erb b/app/views/stories/_comic_header.html.erb
deleted file mode 100644 (file)
index d1eb9e7..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<h1>
-  <%= link_to comic_icon, comic_path(comic) %>
-  <%= link_to h(comic.title), :controller => 'stories', :action => :comic, :id => comic.id %>
-</h1>
-<% if comic.own? author -%>
-  <%= form_for(comic) do |f| %>
-    <div class="field">
-      <%= f.label :title %><br />
-      <%= f.text_field :title %>
-    </div>
-    <div class="field">
-      <%= f.label :visible %><br />
-      <%= f.collection_select :visible, t_select_items(MagicNumber['comic_visible_items']), :last, :first, :html => {:selected => @comic.visible} %>
-    </div>
-    <div class="actions">
-      <%= f.submit %>
-    </div>
-  <% end %>
-<% else %>
-  <p>
-    <b><%= t_m 'Comic.visible' -%>:</b>
-    <%= t_selected_item('comic_visible_items', @comic.visible) %>
-  </p>
-<% end %>
-
-<p>
-  <b><%= t_m 'Comic.author_id' -%>:</b>
-  <%= link_to h(@comic.author.name), author_path(@comic.author) %>
-</p>
-
-<p>
-  <b><%= t_m 'Comic.created_at' -%>:</b>
-  <%= l @comic.created_at %>
-</p>
-
-<p>
-  <b><%= t_m 'Comic.updated_at' -%>:</b>
-  <%= l @comic.updated_at %>
-</p>
-