OSDN Git Service

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