OSDN Git Service

t#31671:add elm copy
[pettanr/pettanr.git] / app / views / speech_balloons / _copy.html.erb
1 <% if author and author.working? -%>
2   <h2><%= 'Copying my working panel' -%></h2>
3   <h3><%= t('home.index.catch') -%></h3>
4   <%= link_to panel_icon(:object => author.working_panel, :size => 25), panel_path(author.working_panel) %>
5   <%= link_to author.working_panel.caption, main_app.panel_path(author.working_panel) %>
6   <% sbset = speech_balloon.copy(author.working_panel) -%>
7
8   <%= render speech_balloon.speech_balloon_template.engine_name + '/speech_balloons/form', :speech_balloon => sbset[:speech_balloon], :balloon => sbset[:balloon], :speech => sbset[:speech], :speech_balloon_extend => sbset[:speech_balloon_extend], :balloon_extend => sbset[:balloon_extend], :speech_extend => sbset[:speech_extend] %>
9 <% end -%>