These were all defaulting to "left_sidebar" which interfered with my work some and doesn't really reflect how these will probably be used.
18 lines
522 B
Ruby
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
|