Blame view

management/templates/multilingual_texts.html 628 Bytes
janek37 authored
1
{% extends "base.html" %}
janek37 authored
2
{% load i18n %}
janek37 authored
3
janek37 authored
4
{% block text-content %}
janek37 authored
5
6
7
8
9
10
11
12
13
14
15
16
17
    <form action="" method="post">
        {% csrf_token %}
        <dl>
            {% for mt in multi_texts %}
                <dt>{{ mt.text_id }}</dt>
                {% for tr in mt.translatedtext_set.all %}
                    <dd>
                        {{ tr.language_code }}:
                        <input type="text" name="tr-{{ tr.id }}" value="{{ tr.text }}"/>
                    </dd>
                {% endfor %}
            {% endfor %}
        </dl>
janek37 authored
18
        <p><button type="submit">{% trans 'Save' %}</button></p>
janek37 authored
19
20
    </form>
{% endblock %}