mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
put field labels first
This commit is contained in:
parent
1318a517e2
commit
100ad7cfcb
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user