Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mikadamczyk committed Jun 26, 2024
1 parent d20ae73 commit bfd63b9
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@
}) }}
</div>
<div class="ibexa-assign__limitations-item">
{% if not form.limitation_type.section.vars.checked %}
{% set sections_attr = {'attr': {'disabled': 'disabled'}} %}
{% else %}
{% set sections_attr = {} %}
{% endif %}
{{ form_widget(form.limitation_type.section, {
'label': 'limitation_type.section'|trans|desc('Sections'),
'attr': {
Expand All @@ -121,7 +116,7 @@
},
'label_attr': {'class': 'ibexa-limitations__label radio-inline'}
}) }}
{{ form_widget(form.sections, sections_attr) }}
{{ form_widget(form.sections) }}
</div>
<div class="ibexa-assign__limitations-item">
{{ form_widget(form.limitation_type.location, {
Expand Down

0 comments on commit bfd63b9

Please sign in to comment.