From 873d5791e34a0176022dbfbb7cbc16c78b58f211 Mon Sep 17 00:00:00 2001 From: "pmoreno.rodriguez" Date: Wed, 8 Nov 2023 13:18:30 +0100 Subject: [PATCH] Fixed some 'medium' tags in select fields and fixed fa-question-circle icon in blueprint with markdown option and some text in help option (#2376) * Fixed some select medium size * question-circle icon added to fields with markdown option In blueprints.yaml, when a field has the mardown option defined and the help with some text option, the fa-question-circle icon is not displayed. --- blueprints.yaml | 6 +++--- themes/grav/templates/forms/field.html.twig | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/blueprints.yaml b/blueprints.yaml index fe8b66ee..46393ffe 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -554,7 +554,7 @@ form: whitelabel.color_scheme.accents.primary-accent: type: select - size: meidum + size: medium classes: fancy label: PLUGIN_ADMIN.PRIMARY_ACCENT_LABEL help: PLUGIN_ADMIN.PRIMARY_ACCENT_HELP @@ -572,7 +572,7 @@ form: whitelabel.color_scheme.accents.secondary-accent: type: select - size: meidum + size: medium classes: fancy label: PLUGIN_ADMIN.SECONDARY_ACCENT_LABEL help: PLUGIN_ADMIN.SECONDARY_ACCENT_HELP @@ -590,7 +590,7 @@ form: whitelabel.color_scheme.accents.tertiary-accent: type: select - size: meidum + size: medium classes: fancy label: PLUGIN_ADMIN.TERTIARY_ACCENT_LABEL help: PLUGIN_ADMIN.TERTIARY_ACCENT_HELP diff --git a/themes/grav/templates/forms/field.html.twig b/themes/grav/templates/forms/field.html.twig index 25a793c8..40cba498 100644 --- a/themes/grav/templates/forms/field.html.twig +++ b/themes/grav/templates/forms/field.html.twig @@ -46,7 +46,7 @@ {% block label %} {% if field.help %} {% if field.markdown %} - {{ field.label|t|markdown(false)|raw }} + {{ field.label|t|markdown(false)|raw }} {% else %} {{ field.label|t|raw }} {% endif %}