Fitting Templates with translate tag
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
{% extends '../global.html' %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<form method="POST" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
<h2>Upload image to "{{gallery.title}}"</h2>
|
||||
<h2>{% translate 'Upload image to' %} "{{gallery.title}}"</h2>
|
||||
<div class="RV-Fieldset">
|
||||
{% include 'partials/form_input.html' with field=form.images %}
|
||||
</div>
|
||||
<div class="RV-Fieldset">
|
||||
<button type="submit">Upload</button>
|
||||
<button type="submit">{% translate 'Upload' %}</button>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock content %}
|
Reference in New Issue
Block a user