Редактирование связанных элементов. Исправлена ошибка в шаблоне

This commit is contained in:
2015-06-01 17:06:08 +05:00
parent ca42f55ae0
commit c100612285
2 changed files with 3 additions and 3 deletions

View File

@@ -15,8 +15,8 @@
<TR bgcolor={{attend.date.weekday_color}}>
<TD>{{ attend.date.date_dd_mm_yy}}</TD>
<TD>{{ attend.date.weekday_name}}</TD>
<TD>{% inplace_edit "attend.attend.calls" %}</TD>
<TD>{% inplace_edit "attend.attend.visits" %}</TD>
<TD>{% if attend.attend %}{% inplace_edit "attend.attend.calls" %}{% endif %}</TD>
<TD>{% if attend.attend %}{% inplace_edit "attend.attend.visits" %}{% endif %}</TD>
<TD><a href="{% url 'asuzr-main' attend.date.day attend.date.month attend.date.year %}">{{ attend.orders_count}}</a></TD>
<TD>{{ attend.orders_price}}</TD>
<TD>{{ attend.designers}}</TD>