OSDN Git Service

t#31223:add them contents list for author and artist
[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 <p>
21   <%= link_to t('authors.show.to_comics'), comics_author_path(@au) %>
22 </p>
23
24 <p>
25   <%= link_to t('authors.show.to_panels'), panels_author_path(@au) %>
26 </p>
27
28 <% if @au.own?(@author) %>
29   <%= link_to t('link.edit'), edit_author_path(@au) %>
30 <% end %>