Files
dog_training/templates/components/dog/_td_notes.html

18 lines
666 B
HTML

{% with _notes = none if (is_blank_row or notes is not defined) else notes %}
{% set value_formatted = model.format_null_string_as_blank(notes) %}
{% set value_previous = value_formatted | escape %}
<td class="{{ model.FLAG_NOTES }}">
<!--
<input type="text"
class="{{ model.FLAG_NOTES }}"
{{ model.ATTR_VALUE_CURRENT }} {{ model.ATTR_VALUE_PREVIOUS }} />
-->
<textarea class="{{ model.FLAG_NOTES }}"
{{ model.ATTR_VALUE_CURRENT }}="{{ value_previous }}" {{ model.ATTR_VALUE_PREVIOUS }}="{{ value_previous }}"
>{{ value_formatted }}</textarea>
</td>
{% endwith %}