OSDN Git Service

work
[pettanr/pettanr.git] / app / views / speech_balloon_templates / show.html.erb
1 <h1><%= t '.title' -%></h1>
2 <p id="notice"><%= notice %></p>
3
4 <div>
5   <%= link_to tag(:img, @speech_balloon_template.system_picture.tmb_opt_img_tag), speech_balloon_template_path(@speech_balloon_template) %>
6   <div>
7     <%= link_to h(@speech_balloon_template.caption), speech_balloon_template_path(@speech_balloon_template) %>
8   </div>
9 </div>
10
11 <% if @operators.author and @operators.author.working? -%>
12   <h3><%= t('home.index.catch') -%></h3>
13   <%= link_to panel_icon(:object => @operators.author.working_panel, :size => 25), panel_path(@operators.author.working_panel) %>
14   <%= link_to @operators.author.working_panel.caption, main_app.panel_path(@operators.author.working_panel) %>
15
16   <p>
17     <%= link_to t('speech_balloon_templates.add_to_panel'), main_app.new_speech_balloon_path(:speech_balloon_template_id => @speech_balloon_template.id) %>
18   </p>
19 <% end -%>
20
21 <%= link_to t('link.back'), speech_balloon_templates_path %>