Fitting Templates with translate tag
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
{% extends '../global.html' %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<form method="POST">
|
||||
{% csrf_token %}
|
||||
@@ -7,7 +9,7 @@
|
||||
{% include 'partials/form_input.html' with field=name_form.name %}
|
||||
</div>
|
||||
<div class="RV-Fieldset">
|
||||
<button type="submit">Save</button>
|
||||
<button type="submit">{% translate 'Save' %}</button>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock content %}
|
Reference in New Issue
Block a user