mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Add missing type="button" in collections/_privacy_switch.html
This commit is contained in:
parent
18ad15a18f
commit
2961c90ae1
@ -11,7 +11,7 @@
|
||||
|
||||
<div class="privacy-indicator {% if is_public %}public{% else %}private{% endif %}">
|
||||
{% trans "Privacy" %}
|
||||
<button data-a11y-dialog-show="set-privacy" class="status-tag primary">
|
||||
<button type="button" data-a11y-dialog-show="set-privacy" class="status-tag primary">
|
||||
{# labels are shown/hidden in CSS according to the 'private' / 'public' class on view-permission-indicator #}
|
||||
<span class="label-public icon icon-view" aria-label="{% trans 'Set collection privacy. Current status: Public' %}">
|
||||
{% trans "Public" %}
|
||||
|
Loading…
Reference in New Issue
Block a user