Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Issue forks
socialbase-3239428
Commits
d926b8e3
Unverified
Commit
d926b8e3
authored
Jul 12, 2021
by
Kingdutch
Browse files
Issue
#3223229
: Add template for nationality profile field
parent
de2294a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/field/field--profile--field-profile-nationality.html.twig
0 → 100644
View file @
d926b8e3
{%
if
items
is
not
empty
%}
<h5>
{{
label
}}
</h5>
{%
set
classes
=
[
'badge'
,
'badge--pill'
,
'badge--large'
,
'badge-default'
]
%}
{%
for
item
in
items
%}
<div
{{
item.attributes.addClass
(
classes
)
}}
>
{{
item.content
}}
</div>
{%
endfor
%}
{%
endif
%}
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