You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.2 KiB
38 lines
1.2 KiB
{# табличная часть доверенности на получение тмц #}
|
|
|
|
<table id="tbl_items" class="list dover">
|
|
<tr>
|
|
<th style="width: 436px">Наименование</th>
|
|
<th style="width: 100px">Количество</th>
|
|
<th style="width: 100px">Ед. измерения</th>
|
|
<th style="width: 44px; text-align: center">Удалить</th>
|
|
</tr>
|
|
|
|
{% for iform in formset %}
|
|
<tr class="row {% cycle 'even' 'odd' %}">
|
|
{% for field in iform %}
|
|
{% if field.name == "id" or field.name == "parent" %}
|
|
{{ field }}
|
|
{% else %}
|
|
<td class="{{ field.name }}{% if field.name == "DELETE" %} center{% endif %}">
|
|
{{ field.errors }}
|
|
{{ field }}
|
|
</td>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</tr>
|
|
{% endfor %}
|
|
|
|
<tr>
|
|
<td>
|
|
<input type="submit" name="_add_line" id="id_add_line" class="button-as-link" value="+ Добавить строку" />
|
|
</td>
|
|
<td><b id="itogo_qty"></b></td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
{{ formset.management_form }}
|
|
|
|
<div class="clear"></div>
|
|
|