Blame view

management/templates/table_edit_row.html 1.72 KB
janek37 authored
1
{% load i18n %}
janek37 authored
2
3
4
5
6
7
8
9
10
<tr class="{{ params.0 }}">
    {% if params.0 != 'export' %}
        <td><input type="text" class="row" value="{{ coord.0 }}" size="1"/></td>
        <td><input type="text" class="col" value="{{ coord.1 }}" size="1"/></td>
        <td><input type="text" class="rspan" value="{{ coord.2 }}" size="1"/></td>
        <td><input type="text" class="cspan" value="{{ coord.3 }}" size="1"/></td>
    {% endif %}
    <td>
        {% if params.0 == 'table' %}
janek37 authored
11
            {% trans 'ind' %}:<input type="text" class="ind" value="{{ coord.4 }}" size="1"/>
janek37 authored
12
13
14
        {% endif %}
        {% if params.0 == 'table' or params.0 == 'export' %}
            {{ params.1.base_form_label.as_widget }}
janek37 authored
15
16
            {% trans 'pre' %}:<input type="text" class="pre" value="{{ params.2 }}" size="3"/>
            {% trans 'suf' %}:<input type="text" class="suf" value="{{ params.3 }}" size="3"/>
janek37 authored
17
        {% endif %}
janek37 authored
18
        {% if params.0 == 'table' %}
janek37 authored
19
            {% trans 'qual.' %}:<input type="text" class="qualifier" value="{{ params.4 }}" size="15"/>
janek37 authored
20
        {% endif %}
janek37 authored
21
        {% if params.0 == 'header' %}
janek37 authored
22
            {% trans 'head' %}:<input type="text" class="label" value="{{ params.1 }}" size="10"/>
janek37 authored
23
24
25
26
            {{ params.2.css_class }}
        {% endif %}
    </td>
    {% if params.0 == 'export' %}
janek37 authored
27
        <td><input type="text" class="tag" value="{{ coord }}" size="25"/></td>
janek37 authored
28
29
    {% endif %}
    <td>
janek37 authored
30
        {{ cr_form.pattern_types.as_widget }}
janek37 authored
31
    </td>
janek37 authored
32
33
34
    {% if takes_gender %}
        <td>{{ gender_form.genders.as_widget }}</td>
    {% endif %}
janek37 authored
35
36
37
    {% for attr_form in attr_forms %}
        <td>{{ attr_form.values.as_widget }}</td>
    {% endfor %}
janek37 authored
38
39
40
41
    <td class="remove">
        <span class="ui-icon ui-icon-close"></span>
    </td>
</tr>