app/admin/c80_estate/areas.rb in c80_estate-0.1.0.34 vs app/admin/c80_estate/areas.rb in c80_estate-0.1.0.35
- old
+ new
@@ -11,10 +11,12 @@
:desc,
:owner_id,
:owner_type,
:assigned_person_id,
:assigned_person_type,
+ :last_updater_id,
+ :last_updater_type,
:atype_id,
:property_id,
:astatus_ids => [],
:aphotos_attributes => [:id, :image, :_destroy],
:item_props_attributes => [:value, :_destroy, :prop_name_id, :id]
@@ -242,9 +244,11 @@
if f.object.new_record?
f.input :owner_id, :input_html => {:value => current_admin_user.id}, as: :hidden
f.input :owner_type, :input_html => {:value => "AdminUser"}, as: :hidden
end
+ f.input :last_updater_id, :input_html => {:value => current_admin_user.id}, as: :hidden
+ f.input :last_updater_type, :input_html => {:value => "AdminUser"}, as: :hidden
end
f.actions
end
\ No newline at end of file