ban_form.html: add autofocus on reason text form

This commit is contained in:
Zankaria 2024-10-28 23:36:11 +01:00
parent aa8525aa86
commit 9e2ab87df6

View file

@ -45,7 +45,7 @@ $(document).ready(function(){
<label for="reason">{% trans 'Reason' %}</label> <label for="reason">{% trans 'Reason' %}</label>
</th> </th>
<td> <td>
<textarea name="reason" id="reason" rows="5" cols="30">{{ reason|e }}</textarea> <textarea name="reason" id="reason" rows="5" cols="30" autofocus>{{ reason|e }}</textarea>
</td> </td>
</tr> </tr>
{% if post and board and not delete %} {% if post and board and not delete %}