OSDN Git Service

merge
[pettanr/pettanr.git] / app / views / panels / _element_copy.html.erb
index 837054d..4de1370 100644 (file)
@@ -1,11 +1,11 @@
-<% if author and author.working? -%>
+<% if operators.author and operators.author.working? -%>
   <h2><%= t('panels.element_copy') -%></h2>
   <h3><%= t('home.index.catch') -%></h3>
-  <%= 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) %>
+  <%= link_to panel_icon(:object => operators.author.working_panel, :size => 25), panel_path(operators.author.working_panel) %>
+  <%= link_to operators.author.working_panel.caption, main_app.panel_path(operators.author.working_panel) %>
 
-  <%= form_for(author.working_panel) do |f| %>
-    <%= hidden_field_tag "json", element.copy(author.working_panel).to_json %>
+  <%= form_for(operators.author.working_panel) do |f| %>
+    <%= hidden_field_tag "json", element.copy(operators.author.working_panel).to_json %>
     <div>
       <%= submit_tag t('panels.inspire') -%>
     </div>