Skip to content

Commit 7bbe496

Browse files
authored
1 parent a1447a7 commit 7bbe496

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/bundle/Resources/views/themes/admin/user/role_assignment/create.html.twig

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,6 @@
107107
}) }}
108108
</div>
109109
<div class="ibexa-assign__limitations-item">
110-
{% if not form.limitation_type.section.vars.checked %}
111-
{% set sections_attr = {'attr': {'disabled': 'disabled'}} %}
112-
{% else %}
113-
{% set sections_attr = {} %}
114-
{% endif %}
115110
{{ form_widget(form.limitation_type.section, {
116111
'label': 'limitation_type.section'|trans|desc('Sections'),
117112
'attr': {
@@ -121,7 +116,7 @@
121116
},
122117
'label_attr': {'class': 'ibexa-limitations__label radio-inline'}
123118
}) }}
124-
{{ form_widget(form.sections, sections_attr) }}
119+
{{ form_widget(form.sections) }}
125120
</div>
126121
<div class="ibexa-assign__limitations-item">
127122
{{ form_widget(form.limitation_type.location, {

0 commit comments

Comments
 (0)