OSDN Git Service

t#32402:add file prof
[pettanr/pettanr.git] / app / views / story_sheets / show.html.erb
1 <h1><%= t('.title') %></h1>
2 <p id="notice"><%= notice %></p>
3
4 <p>
5   <b><%= t_m 'StorySheet.story_id' -%>:</b>
6   <%= link_to story_icon(:object => @story_sheet.story), story_path(@story_sheet.story) %>
7   <%= link_to h(@story_sheet.story.title), play_story_path(@story_sheet.story) %>
8 </p>
9
10 <p>
11   <b><%= t_m 'StorySheet.sheet_id' -%>:</b>
12   <%= link_to sheet_icon(:object => @story_sheet.sheet), sheet_path(@story_sheet.sheet) %>
13 </p>
14
15 <p>
16   <b><%= t_m 'StorySheet.t' -%>:</b>
17   <%= @story_sheet.t %>
18 </p>
19
20 <p>
21   <b><%= t_m 'StorySheet.author_id' -%>:</b>
22   <%= link_to author_icon(:object => @story_sheet.author), author_path(@story_sheet.author) %>
23   <%= link_to h(@story_sheet.author.name), author_path(@story_sheet.author) %>
24 </p>
25
26 <p>
27   <b><%= t_m 'StorySheet.created_at' -%>:</b>
28   <%= l @story_sheet.created_at %>
29 </p>
30
31 <p>
32   <b><%= t_m 'StorySheet.updated_at' -%>:</b>
33   <%= l @story_sheet.updated_at %>
34 </p>
35 <% if @story_sheet.own? @author -%>
36   <%= link_to t('link.edit'), edit_story_sheet_path(@story_sheet) %>
37   <%= link_to t('link.destroy'), story_sheet_path(@story_sheet), :method => :delete %>
38 <% end %>
39