OSDN Git Service

t#30144:hide old edition pictures on pp, gp
[pettanr/pettanr.git] / app / views / artists / show.html.erb
index 70d3626..c791476 100644 (file)
@@ -1,5 +1,21 @@
+<h1><%= t '.title' -%></h1>
 <p id="notice"><%= notice %></p>
 
-投稿された素材
+<p>
+  <b><%= t_m 'Artist.name' -%>:</b>
+  <%= h @ar.name %>
+</p>
 
-<%= link_to 'Back', artists_path %>
+<p>
+  <b><%= t_m 'Artist.created_at' -%>:</b>
+  <%= l @ar.created_at %>
+</p>
+
+<p>
+  <b><%= t_m 'Artist.updated_at' -%>:</b>
+  <%= l @ar.updated_at %>
+</p>
+
+<% if @ar.own?(@artist) %>
+  <%= link_to t('link.edit'), edit_artist_path(@ar) %>
+<% end %>