35 lines
1.6 KiB
HTML
35 lines
1.6 KiB
HTML
|
|
{% if is_blank_row %}
|
|
<tr class="{{ model.FLAG_ROW_NEW }} {{ model.FLAG_LOCATION }}" {{ model.ATTR_ID_LOCATION }}>
|
|
<td class="{{ model.FLAG_LOCATION_PARENT }} {{ model.FLAG_DDL_PREVIEW }}">
|
|
{% set location_preview = none %}
|
|
{% set attribute_text = model.FLAG_LOCATION_PARENT %}
|
|
{% include 'components/dog/_preview_DDL_location.html' %}
|
|
</td>
|
|
<td class="{{ model.FLAG_NAME }}">
|
|
<input type="text"
|
|
class="{{ model.FLAG_NAME }}"
|
|
{{ model.ATTR_VALUE_CURRENT }} {{ model.ATTR_VALUE_PREVIOUS }} />
|
|
</td>
|
|
{% set active = True %}
|
|
{% include 'components/dog/_td_active.html' %}
|
|
</tr>
|
|
{% else %}
|
|
<tr class="{{ model.FLAG_LOCATION }}" {{ model.ATTR_ID_LOCATION }}="{{ location.id_location }}">
|
|
{% set location_preview = location.location_parent %}
|
|
<td class="{{ model.FLAG_LOCATION_PARENT }} {{ model.FLAG_DDL_PREVIEW }}">
|
|
{% set attribute_text = model.FLAG_LOCATION_PARENT %}
|
|
{% include 'components/dog/_preview_DDL_location.html' %}
|
|
</td>
|
|
<td class="{{ model.FLAG_NAME }}">
|
|
<input type="text"
|
|
class="{{ model.FLAG_NAME }}"
|
|
{{ model.ATTR_VALUE_CURRENT }}="{{ model.format_null_string_as_blank(location.name)|escape }}"
|
|
{{ model.ATTR_VALUE_PREVIOUS }}="{{ model.format_null_string_as_blank(location.name)|escape }}"
|
|
value="{{ model.format_null_string_as_blank(location.name) }}" />
|
|
</td>
|
|
{% set active = location.active %}
|
|
{% include 'components/dog/_td_active.html' %}
|
|
</tr>
|
|
{% endif %}
|