docbrown/app/services/profile_fields/add_branding_fields.rb
Jacob Herrington 77a35b378f
Fix seed values for ProfileFields (#11481)
These were all defaulting to "left_sidebar" which interfered with my
work some and doesn't really reflect how these will probably be used.
2020-11-19 09:13:49 -06:00

18 lines
522 B
Ruby

module ProfileFields
class AddBrandingFields
include FieldDefinition
group "Branding" do
field "Brand color 1",
:color_field,
placeholder: "#000000",
description: "Used for backgrounds, borders etc.",
display_area: "settings_only"
field "Brand color 2",
:color_field,
placeholder: "#000000",
description: "Used for texts (usually put on Brand color 1).",
display_area: "settings_only"
end
end
end