OSDN Git Service

t#31749:add shortcut on sbt
[pettanr/pettanr.git] / app / views / speech_balloon_templates / index.html.erb
1 <h1><%= t '.title' -%></h1>
2
3 <ul>
4   <% @speech_balloon_templates.each do |st| %>
5     <li>
6       <div class="speech_balloon_template_item">
7         <%= link_to tag(:img, st.system_picture.tmb_opt_img_tag), speech_balloon_template_path(st) %>
8         <div>
9           <%= link_to h(st.caption), speech_balloon_template_path(st) %>
10         </div>
11       </div>
12       <div class="speech_balloon_template_item">
13         <% if @author and @author.working? -%>
14           <%= link_to t('speech_balloon_templates.add_to_panel'), main_app.new_speech_balloon_path(:speech_balloon_template_id => st.id) %>
15         <% end -%>
16       </div>
17       <div class="speech_balloon_template_item-row-break">
18       </div>
19     </li>
20   <% end %>
21 </ul>