Commit 5457e2eb authored by Michal Čihař's avatar Michal Čihař

Better variable name to avoid confusion

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 5c573df4
......@@ -57,10 +57,10 @@
{% csrf_token %}
{% if antispam %}<div id="s_content">{{ antispam|crispy }}</div>{% endif %}
{% if secondary %}
{% for unit in secondary %}
{% for secondary_unit in secondary %}
<div class="form-group">
<label>{{ unit.translation.language }}</label>
{% format_translation unit.target unit.translation.language %}
<label>{{ secondary_unit.translation.language }}</label>
{% format_translation secondary_unit.target secondary_unit.translation.language %}
</div>
{% endfor %}
{% endif %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment