OSDN Git Service

t#31725:add panel inspire
[pettanr/pettanr.git] / app / views / panel_pictures / _copy.html.erb
1 <% if author and author.working? -%>
2   <h2><%= t('panel_pictures.show.copy') -%></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
7   <%= form_for(author.working_panel) do |f| %>
8     <%= hidden_field_tag "json", panel_picture.copy(author.working_panel).to_json %>
9     <div>
10       <%= submit_tag t('panel_pictures.show.inspire') -%>
11     </div>
12   <% end %>
13 <% end -%>