{% load i18n %} {% load txcommontags %}
{% csrf_token %} {% comment %} Overridden form_as_table_rows in order to better customize it. {% endcomment %} {% if create_resource_form %} {% blocktrans %} Create a resource by selecting a source language and uploading a source translation file from your workstation, such as an English POT file. Transifex will analyze the file, extract the strings from inside it, and create your resource based on these. {% endblocktrans %}

{% blocktrans %}For extensive information on the supported file formats, visit the corresponding Transifex Help page.{% endblocktrans %}
{% if create_resource_form.non_field_errors %} {% endif %}
{% for field in create_resource_form %} {% if field.is_hidden %} {{ field }} {% if field.errors %}

{{ field }}

{% for error in field.errors %}{{ error }}{% endfor %}

{% endif %} {% else %}
{{ field.errors }} {{ field.label_tag }} {% if field.field.required %}*{% endif %} {{ field }}
{% comment %} {{ field.label }}: {% if field.field.required %}*{% endif %}

{{ field }}

{% if field.errors %}

{% for error in field.errors %}{{ error }}{% endfor %}

{% endif %} {% endcomment %} {% endif %} {% endfor %}
{% endif %}