OSDN Git Service

fix:server
[pettanr/pettanr.git] / app / views / sheets / show.html.erb
index 45366b5..d508b92 100644 (file)
@@ -9,7 +9,7 @@
     <h2><%= t('sheets.show.copy') -%></h2>
     <%= form_for(Sheet.new, :html => {:jqform => 'pettanr-sheet-form'}) do |f| %>
 
-      <%= hidden_field_tag "json", @item.copy().to_json %>
+      <%= hidden_field_tag "json", @item.post_attributes(:all => true).to_json %>
       <div>
         <%= submit_tag t('sheets.show.inspire') -%>
       </div>