OSDN Git Service

t#31057:add import
[pettanr/pettanr.git] / app / views / artists / show.html.erb
1 <% @page_title = t('.title') + ':' + @ar.name %>
2 <h1><%= t '.title' -%></h1>
3 <p id="notice"><%= notice %></p>
4
5 <p>
6   <b><%= t_m 'Artist.name' -%>:</b>
7   <%= h @ar.name %>
8 </p>
9
10 <p>
11   <b><%= t_m 'Artist.created_at' -%>:</b>
12   <%= l @ar.created_at %>
13 </p>
14
15 <p>
16   <b><%= t_m 'Artist.updated_at' -%>:</b>
17   <%= l @ar.updated_at %>
18 </p>
19
20 <% if @ar.own?(@artist) %>
21   <%= link_to t('link.edit'), edit_artist_path(@ar) %>
22 <% end %>