* remove background image, rename prop to refer to color, pass primary brand color * create helper method, send calculated gradient values into frontend props * test new helper method and refine how color is darkened
21 lines
954 B
Text
21 lines
954 B
Text
<%= form_for(Settings::General.new,
|
|
url: admin_settings_general_settings_path,
|
|
html: { data: { action: "submit->config#updateConfigurationSettings" } }) do |f| %>
|
|
<details class="crayons-card">
|
|
<summary class="crayons-subtitle-2 p-6">Onboarding</summary>
|
|
<div class="p-6 pt-0">
|
|
<fieldset class="grid gap-4">
|
|
|
|
<div class="crayons-field">
|
|
<%= admin_config_label :suggested_tags %>
|
|
<%= admin_config_description Constants::Settings::General.details[:suggested_tags][:description] %>
|
|
<%= f.text_field :suggested_tags,
|
|
class: "crayons-textfield",
|
|
value: Settings::General.suggested_tags.join(","),
|
|
placeholder: Constants::Settings::General.details[:suggested_tags][:placeholder] %>
|
|
</div>
|
|
</fieldset>
|
|
<%= render "update_setting_button", f: f %>
|
|
</div>
|
|
</details>
|
|
<% end %>
|