-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IBX-3698: Conditional icon for form_help #889
Conversation
@@ -383,10 +383,14 @@ | |||
{% block form_help -%} | |||
{%- if help is not empty -%} | |||
{%- set help_attr = help_attr|merge({class: (help_attr.class|default('') ~ ' ibexa-form-help')|trim}) -%} | |||
{%- set with_icon = help_attr.with_icon is defined ? help_attr.with_icon: true -%} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{%- set with_icon = help_attr.with_icon is defined ? help_attr.with_icon: true -%} | |
{%- set with_icon = help_attr.with_icon is defined ? help_attr.with_icon : true -%} |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with Darek fix
74e3485
to
20e86af
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Added properties
help_attr.with_icon|default(true)
to display icons in theform_help
blockChecklist:
$ composer fix-cs
)