OSDN Git Service

t#32025:comic rename
[pettanr/pettanr.git] / app / views / scrolls / browse.html.erb
diff --git a/app/views/scrolls/browse.html.erb b/app/views/scrolls/browse.html.erb
new file mode 100644 (file)
index 0000000..c93e622
--- /dev/null
@@ -0,0 +1,34 @@
+<h1><%= t '.title' -%></h1>
+<p>
+  <b><%= t_m 'Comic.id' -%>:</b>
+  <%= h @comic.id %>
+</p>
+
+<p>
+  <b><%= t_m 'Comic.title' -%>:</b>
+  <%= h @comic.title %>
+</p>
+
+<p>
+  <b><%= t_m 'Comic.visible' -%>:</b>
+  <%= @comic.visible %>
+  <%= t_selected_item('comic_visible_items', @comic.visible) %>
+</p>
+
+<p>
+  <b><%= t_m 'Comic.author_id' -%>:</b>
+  <%= @comic.author_id %>
+  <%= link_to h(@comic.author.name), browse_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>
+
+<%= link_to t('link.back'), :action => :list %>