mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
fix checkbox
This commit is contained in:
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') }}
|
||||
|
||||
Reference in new issue
Block a user