Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Galette
Galette
Commits
2c8d9795
Commit
2c8d9795
authored
Jun 22, 2022
by
Johan Cwiklinski
Browse files
required may not be defined
parent
62305e83
Changes
1
Hide whitespace changes
Inline
Side-by-side
galette/templates/default/components/forms/text.html.twig
View file @
2c8d9795
...
...
@@ -7,7 +7,7 @@
{%
else
%}
{%
set
component_class
=
'field'
%}
{%
endif
%}
{%
if
entry.required
%}
{%
if
entry.required
??
false
%}
{%
set
component_class
=
component_class
~
' required'
%}
{%
endif
%}
{{
parent
()
}}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment