OSDN Git Service

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