update accesskeys in editor

This commit is contained in:
Laura Klünder 2017-05-16 15:52:31 +02:00
parent 32468e945a
commit cf1350bd59
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@
{% trans 'Delete' %}
</button>
{% endif %}
<button type="submit" accesskey="m" class="btn btn-primary pull-right">
<button type="submit" accesskey="s" class="btn btn-primary pull-right">
{% trans 'Save' %}
</button>
<a class="btn {% if new %}btn-danger{% else %}btn-default pull-right{% endif %} cancel-btn" href="{{ back_url }}">

View file

@ -2,7 +2,7 @@
{% load i18n %}
{% include 'editor/fragment_sections.html' %}
<a class="btn btn-default btn-sm pull-right" accesskey="n" href="{% url 'editor.section.edit' pk=section.id %}">{% trans 'Edit Section' %}</a>
<a class="btn btn-default btn-sm pull-right" accesskey="e" href="{% url 'editor.section.edit' pk=section.id %}">{% trans 'Edit Section' %}</a>
<h3>{{ section.title }}</h3>
<p>
<a href="{% url 'editor.index' %}">&laquo; {% trans 'Back to overview' %}</a>