Start translation form
This commit is contained in:
parent
57868d5a50
commit
2bded08c45
|
@ -9,6 +9,12 @@
|
|||
|
||||
<p>{% blocktrans with unit.position as position %}Showing string {{ position }} out of {{ total }}.{% endblocktrans %}</p>
|
||||
|
||||
<form action="{{ unit.translation.get_translate_url }}" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="type" value="{{ type }}" />
|
||||
<input type="hidden" name="oldpos" value="{{ unit.pos }}" />
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
|
|
@ -44,4 +44,5 @@ def translate(request, project, subproject, lang):
|
|||
'title': '%s @ Weblate' % (obj.__unicode__()),
|
||||
'unit': unit,
|
||||
'total': total,
|
||||
'type': rqtype,
|
||||
}))
|
||||
|
|
Loading…
Reference in New Issue
Block a user