From 3bdba0772fdd7e1250e1da1d0a5f4eda6b4d3cbd Mon Sep 17 00:00:00 2001 From: rulingcom Date: Thu, 6 Nov 2025 18:24:14 +0800 Subject: [PATCH] small fix for disbaled custom fields --- app/views/admin/property_hires/_attribute_field.html.erb | 2 +- app/views/admin/property_hires/custom_fields.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/property_hires/_attribute_field.html.erb b/app/views/admin/property_hires/_attribute_field.html.erb index 06bce30..e888ed2 100644 --- a/app/views/admin/property_hires/_attribute_field.html.erb +++ b/app/views/admin/property_hires/_attribute_field.html.erb @@ -4,7 +4,7 @@ %>
-
+
<%= hidden_field "#{@field_name}[p_hire_fields][#{@af_counter}]","disabled",:value=>attribute_field.disabled,:class=>"toggle-check", :data=>{:deploy=>"right"} %>
diff --git a/app/views/admin/property_hires/custom_fields.erb b/app/views/admin/property_hires/custom_fields.erb index 250238f..d641bf8 100644 --- a/app/views/admin/property_hires/custom_fields.erb +++ b/app/views/admin/property_hires/custom_fields.erb @@ -23,7 +23,7 @@
- <%= render partial: "attribute_field",collection: @attribute.p_hire_fields_enabled.asc(:_id)%> + <%= render partial: "attribute_field",collection: @attribute.p_hire_fields.asc(:_id)%>