put field labels first

This commit is contained in:
Andrew Brown 2023-02-26 13:13:16 -08:00
parent 1318a517e2
commit 100ad7cfcb

View File

@ -72,7 +72,7 @@ class BasilController < ApplicationController
value = attributes.detect { |a| a.attribute_field_id == field.id }.try(:value)
next if value.nil? || value.blank? || ['none', 'n/a', 'no', '.', '-', ' '].include?(value.try(:downcase))
"#{value.gsub(',', '')} #{field.label}"
"#{field.label}: #{value.gsub(',', '')}"
end
prompt = [
gender_value,