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 committed by catborise
parent 8bafaa8720
commit bf15de507a
37 changed files with 122 additions and 122 deletions

View file

@ -13,7 +13,7 @@
<h5 class="modal-title">{% trans "Create New Secret" %}</h5>
</div>
<div class="modal-body">
<form method="post" action="" role="form">{% csrf_token %}
<form method="post" action="" role="form" aria-label="Create Secret form">{% csrf_token %}
<div class="form-group row">
<label class="col-sm-3 col-form-label">{% trans "Ephemeral" %}</label>
<div class="col-sm-6">

View file

@ -78,7 +78,7 @@
</td>
<td>{{ secret.usage }}</td>
<td>
<form action="" method="post" role="form">{% csrf_token %}
<form action="" method="post" role="form" aria-label="Delete secret form">{% csrf_token %}
<input type="hidden" name="uuid" value="{{ secret.uuid }}"/>
<a data-toggle="modal" href="#editSecret{{ secret.uuid }}" class="btn btn-sm btn-primary" title="{% trans "Edit" %}">
<span class="fa fa-pencil"></span>
@ -98,7 +98,7 @@
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
</div>
<div class="modal-body">
<form method="post" role="form">{% csrf_token %}
<form method="post" role="form" aria-label="Edit secret form">{% csrf_token %}
<div class="form-group row">
<label class="col-sm-3 col-form-label">{% trans "Value" %}</label>
<input type="hidden" name="uuid" value="{{ secret.uuid }}">