Skip to content

Commit

Permalink
Fix new rule pack creation page
Browse files Browse the repository at this point in the history
  • Loading branch information
fxbru committed Apr 9, 2024
1 parent 0f40f3e commit d6662eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/rules/templates/rules_packs_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h3 class="card-title">Applicable languages</h3>
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input"
id="lang{{ lang_id }}" name="languages" value="{{ lang_id }}""
{% if lang_id in form.languages.data %} checked {% endif %}
{% if edit and lang_id in form.languages.data %} checked {% endif %}
>
<label class="custom-control-label" for="lang{{ lang_id }}">
{{ lang_label }}
Expand Down

0 comments on commit d6662eb

Please sign in to comment.