OSDN Git Service

t#32046:
[pettanr/pettanr.git] / app / views / comics / show.html.erb
1 <% @page_title = t('.title') + ':' + @comic.title %>
2 <h1><%= t('.title') %></h1>
3 <p id="notice"><%= notice %></p>
4
5 <p>
6   <b><%= t_m 'Comic.title' -%>:</b>
7   <%= link_to h(@comic.title), :controller => 'stories', :action => :comic, :id => @comic.id %>
8 </p>
9
10 <p>
11   <b><%= t_m 'Comic.description' -%>:</b>
12   <%= h(@comic.description) %>
13 </p>
14
15 <p>
16   <b><%= t_m 'Comic.visible' -%>:</b>
17   <%= t_selected_item('comic_visible_items', @comic.visible) %>
18 </p>
19
20 <p>
21   <b><%= t_m 'Comic.author_id' -%>:</b>
22   <%= link_to h(@comic.author.name), author_path(@comic.author) %>
23 </p>
24
25 <p>
26   <b><%= t_m 'Comic.created_at' -%>:</b>
27   <%= l @comic.created_at %>
28 </p>
29
30 <p>
31   <b><%= t_m 'Comic.updated_at' -%>:</b>
32   <%= l @comic.updated_at %>
33 </p>
34
35 <%= link_to t('link.edit'), edit_comic_path(@comic) %>