Fitting Templates with translate tag

This commit is contained in:
2022-12-29 21:31:11 +01:00
parent c38ab9a9b4
commit e483084846
10 changed files with 42 additions and 25 deletions

View File

@@ -1,5 +1,7 @@
{% extends '../global.html' %}
{% load i18n %}
{% block content %}
<form method="POST" enctype="multipart/form-data">
{% csrf_token %}
@@ -9,7 +11,7 @@
{% include 'partials/form_input.html' with field=form.images %}
</div>
<div class="RV-Fieldset">
<button type="submit">Create</button>
<button type="submit">{% translate 'Create' %}</button>
</div>
</form>
{% endblock content %}