table_edit_form.html 911 Bytes
{% if export %}
    <button type="button" id="add-export-cell">Dodaj komórkę</button>
{% else %}
    <button type="button" id="add-table-cell">Dodaj komórkę</button>
    <button type="button" id="add-header">Dodaj nagłówek</button>
{% endif %}
<table class="scheme{{ color_scheme }}">
    <thead>
        <tr>
            {% if form_rows.0.1.0 != 'export' %}
                <th>w.</th>
                <th>k.</th>
                <th></th>
                <th></th>
            {% endif %}
            <th></th>
            {% if form_rows.0.1.0 == 'export' %}
                <th>tag</th>
            {% endif %}
            <th>ograniczenia</th>
        </tr>
    </thead>
    {% for coord, params, form in form_rows %}
        {% include 'table_edit_row.html' %}
    {% endfor %}
</table>
<button type="button" id="save-template">Zapisz</button>
<button type="button" id="cancel">Anuluj</button>