Skip to content

Commit

Permalink
Make "Submit" button translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Mar 13, 2020
1 parent 9bc70ce commit 5d3c0ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mpicms/templates/base/form_page.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base/page.html' %}

{% load wagtailcore_tags static %}
{% load wagtailcore_tags static i18n %}

{% block head %}
{{ block.super }}
Expand All @@ -16,7 +16,7 @@ <h2 class="title is-2">{{ page.title }}</h2>
<table>
{{ form.as_table }}
</table>
<input type="submit">
<button>{% trans 'Submit' %}</button>
</form>
</div>
{% endblock %}

0 comments on commit 5d3c0ca

Please sign in to comment.