Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
captcha
Commits
0339c1e6
Commit
0339c1e6
authored
Feb 20, 2020
by
ablum
Committed by
Fabiano Sant'Ana
Feb 20, 2020
Browse files
Issue #3101571 by ablum, wundo, jernejbeg: Add attributes variable to twig template
parent
58a768aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
templates/captcha.html.twig
templates/captcha.html.twig
+1
-1
No files found.
templates/captcha.html.twig
View file @
0339c1e6
{%
if
details
%}
{{
details
}}
{%
else
%}
<div
c
lass
=
"
captcha
"
>
{{
element
}}
</div>
<div
{{
attributes.addC
lass
(
'
captcha
'
)
}}
>
{{
element
}}
</div>
{%
endif
%}
\ No newline at end of file
Write
Preview
Markdown
is supported
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