
{% if is_blank_row %}
    <tr class="{{ model.FLAG_ROW_NEW }} {{ model.FLAG_USER }}" {{ model.ATTR_USER_ID }}>
        <td class="{{ model.FLAG_FIRSTNAME }}">
            <input type="text" 
                class="{{ model.FLAG_FIRSTNAME }}" 
                {{ model.ATTR_VALUE_CURRENT }} {{ model.ATTR_VALUE_PREVIOUS }} />
        </td>
        <td class="{{ model.FLAG_SURNAME }}">
            <input type="text" 
                class="{{ model.FLAG_SURNAME }}" 
                {{ model.ATTR_VALUE_CURRENT }} {{ model.ATTR_VALUE_PREVIOUS }} />
        </td>
        {% include 'components/input/_td_notes.html' %}
        {% set active = True %}
        {% include 'components/input/_td_active.html' %}
    </tr>
{% else %}
    <tr class="{{ model.FLAG_USER }}" {{ model.ATTR_USER_ID }}="{{ user.user_id }}">
        <td class="{{ model.FLAG_FIRSTNAME }}">
            <input type="text" 
                class="{{ model.FLAG_FIRSTNAME }}" 
                {{ model.ATTR_VALUE_CURRENT }}="{{ model.format_null_string_as_blank(user.firstname)|escape }}" 
                {{ model.ATTR_VALUE_PREVIOUS }}="{{ model.format_null_string_as_blank(user.firstname)|escape }}"
                value="{{ model.format_null_string_as_blank(user.firstname) }}" />
        </td>
        <td class="{{ model.FLAG_SURNAME }}">
            <input type="text" 
                class="{{ model.FLAG_SURNAME }}" 
                {{ model.ATTR_VALUE_CURRENT }}="{{ model.format_null_string_as_blank(user.surname)|escape }}" 
                {{ model.ATTR_VALUE_PREVIOUS }}="{{ model.format_null_string_as_blank(user.surname)|escape }}"
                value="{{ model.format_null_string_as_blank(user.surname) }}" />
        </td>
        {% set notes = user.notes %}
        {% include 'components/input/_td_notes.html' %}
        {% set active = user.active %}
        {% include 'components/input/_td_active.html' %}
    </tr>
{% endif %}
