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)%>