1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

add aria-label definition to forms

This commit is contained in:
catborise 2020-05-26 16:18:38 +03:00
parent de97677868
commit e8d4f0d2e1
39 changed files with 128 additions and 128 deletions

View file

@ -55,7 +55,7 @@
<dd class="col-8">{{ start_mode }}</dd>
<dt class="col-4">{% trans "State" %}</dt>
<dd class="col-8">
<form action="" method="post" role="form">{% csrf_token %}
<form action="" method="post" role="form" aria-label="Interface start/stop/delete form">{% csrf_token %}
{% ifequal state 0 %}
<input type="submit" class="btn btn-sm btn-primary" name="start" value="{% trans "Start" %}">
<input type="submit" class="btn btn-sm btn-danger" name="delete" value="{% trans "Delete" %}" onclick="return confirm('{% trans "Are you sure?" %}')">