Commit ead0230e authored by Michal Čihař's avatar Michal Čihař

Improve look of import and auto translation forms

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 2fc6c177
...@@ -176,9 +176,7 @@ ...@@ -176,9 +176,7 @@
<div class="panel-body"> <div class="panel-body">
<p>{% trans "Automatic translation takes existing translations in this project and applies them to the current component. It can be used to push translations to a different branch, to fix inconsistent translations or to translate a new component using translation memory." %}</p> <p>{% trans "Automatic translation takes existing translations in this project and applies them to the current component. It can be used to push translations to a different branch, to fix inconsistent translations or to translate a new component using translation memory." %}</p>
{% csrf_token %} {% csrf_token %}
<table> {{ autoform|crispy }}
{{ autoform.as_table }}
</table>
</div> </div>
<div class="panel-footer"> <div class="panel-footer">
<input type="submit" value="{% trans "Process" %}" class="btn btn-default" /> <input type="submit" value="{% trans "Process" %}" class="btn btn-default" />
...@@ -200,9 +198,7 @@ ...@@ -200,9 +198,7 @@
<p>{% trans "Uploaded file will be merged with current translation." %}</p> <p>{% trans "Uploaded file will be merged with current translation." %}</p>
{% endif %} {% endif %}
{% csrf_token %} {% csrf_token %}
<table> {{ form|crispy }}
{{ form.as_table }}
</table>
</div> </div>
<div class="panel-footer"> <div class="panel-footer">
<input type="submit" value="{% trans "Upload" %}" class="btn btn-default" /> <input type="submit" value="{% trans "Upload" %}" class="btn btn-default" />
......
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