mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
letsencrypt: UI: Fix checkbox disabling
Disable checkboxes using HTML attribute instead of CSS class Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
0564dc558b
commit
df978ce8ee
@ -163,8 +163,7 @@
|
||||
{% trans "Update config" %}</button>
|
||||
</noscript>
|
||||
{% else %}
|
||||
<input type="checkbox" name="toggle_hooks" id="id_toggle_hooks"
|
||||
class="disabled"></input>
|
||||
<input type="checkbox" name="toggle_hooks" id="id_toggle_hooks" disabled></input>
|
||||
<noscript>
|
||||
<button class="btn btn-sm btn-default disabled" type="submit">
|
||||
{% trans "Update config" %}</button>
|
||||
@ -210,8 +209,7 @@
|
||||
{% trans "Update config" %}</button>
|
||||
</noscript>
|
||||
{% else %}
|
||||
<input type="checkbox" name="ejabberd" id="ejabberd"
|
||||
class="disabled"></input>
|
||||
<input type="checkbox" name="ejabberd" id="ejabberd" disabled></input>
|
||||
<noscript>
|
||||
<button class="btn btn-sm btn-default disabled" type="submit">
|
||||
{% trans "Update config" %}</button>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user