fix checkbox

This commit is contained in:
panda committed 2022-12-13 06:43:02 +00:00
1 parent c1c68caee6
commit 514f5466a5
4 files changed
+6 -7

No files matched your search

@@ -11,10 +11,9 @@
</div>
<div class="medium-2 columns">
<label>
{{ _('Highlight') }}
<br>
<label class="checkbox">
<input type="checkbox" name="highlight" value="on"
<input type="checkbox" name="highlight" value="on" class="checkbox"
{%- if ddoc.highlight %} checked{% endif -%}
{%- if not handler.user.hasPerm(perm.PERM_HIGHLIGHT_DISCUSSION) %} disabled{% endif -%}
>{{ _('Highlight') }}
@@ -23,10 +22,9 @@
</div>
<div class="medium-2 columns">
<label>
{{ _('Pin') }}
<br>
<label class="checkbox">
<input type="checkbox" name="pin" value="on"
<input type="checkbox" name="pin" value="on" class="checkbox"
{%- if ddoc.pin %} checked{% endif -%}
{%- if not handler.user.hasPerm(perm.PERM_PIN_DISCUSSION) %} disabled{% endif -%}
>{{ _('Pin') }}