X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=blobdiff_plain;f=app%2Fviews%2Fground_pictures%2F_copy.html.erb;h=6122449b864a3d8711c1a65245922556e2bd695e;hp=ee15f626f6e570b33e4c634ca6a30e572a22dbe4;hb=d30ced24dbafe626e2fa3dc603974b0ade875c25;hpb=b1919518b7bcdfe10e4dc4d14a7f6a5cb37a67d2 diff --git a/app/views/ground_pictures/_copy.html.erb b/app/views/ground_pictures/_copy.html.erb index ee15f626..6122449b 100644 --- a/app/views/ground_pictures/_copy.html.erb +++ b/app/views/ground_pictures/_copy.html.erb @@ -1,8 +1,13 @@ <% if author and author.working? -%> -

<%= 'Copying my working panel' -%>

+

<%= t('ground_pictures.show.copy') -%>

<%= t('home.index.catch') -%>

<%= link_to panel_icon(:object => author.working_panel, :size => 25), panel_path(author.working_panel) %> <%= link_to author.working_panel.caption, main_app.panel_path(author.working_panel) %> - <%= render 'ground_pictures/form', :ground_picture => ground_picture.copy(author.working_panel) %> + <%= form_for(author.working_panel) do |f| %> + <%= hidden_field_tag "json", ground_picture.copy(author.working_panel).to_json %> +
+ <%= submit_tag t('ground_pictures.show.inspire') -%> +
+ <% end %> <% end -%>