test_form_render.html 2.51 KB
Newer Older
1
2
3
4
5
{% load customtags %}
<div class="div_test">
{% for hidden in form.hidden_fields %}
{{ hidden }}
{% endfor %}
6
    <div class="div_test_activity formset-item">
7
        <div class="div_test_activity_desc">
Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
8
            <div class="inline_grid_complex_long">
9
10
11
12
13
14
15
16
17
                {{ form.test_type|bootstrap }}
                {% for field in form.visible_fields %}
                    {%if field.name|startswith:"activityDesc_"%}
                        {{ field|bootstrap }}
                    {%endif%}
                {%endfor%}
            </div>
        </div>
        <div class="div_test_activity_res">
Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
18
            <div class="inline_grid_complex_long">
19
20
21
22
23
24
25
26
                {% for field in form.visible_fields %}
                    {%if field.name|startswith:"activityRes_"%}
                        {{ field|bootstrap }}
                    {%endif%}
                {%endfor%}
            </div>
        </div>
    </div>
27
    <div class="div_test_cytotoxicity formset-item" style="display:none;">
28
        <div class="div_test_cytotoxicity_desc">
Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
29
            <div class="inline_grid_complex_long">
30
31
32
33
34
35
36
37
38
                {{ form.test_type|bootstrap }}
                {% for field in form.visible_fields %}
                    {%if field.name|startswith:"cytotoxDesc_"%}
                        {{ field|bootstrap }}
                    {%endif%}
                {%endfor%}
            </div>
        </div>
        <div class="div_test_cytotoxicity_res">
Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
39
            <div class="inline_grid_complex_long">
40
41
42
43
44
45
46
47
                {% for field in form.visible_fields %}
                    {%if field.name|startswith:"cytotoxRes_"%}
                        {{ field|bootstrap }}
                    {%endif%}
                {%endfor%}
            </div>
        </div>
    </div>
48
    <div class="div_test_pk formset-item" style="display:none;">
49
        <div class="div_test_pk_desc">
Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
50
            <div class="inline_grid_complex_long">
51
52
53
54
55
56
57
58
59
                {{ form.test_type|bootstrap }}
                {% for field in form.visible_fields %}
                    {%if field.name|startswith:"pkDesc"%}
                        {{ field|bootstrap }}
                    {%endif%}
                {%endfor%}
            </div>
        </div>
        <div class="div_test_pk_res">
Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
60
            <div class="inline_grid_complex_long">
61
62
63
64
65
66
67
68
69
                {% for field in form.visible_fields %}
                    {%if field.name|startswith:"pkRes_"%}
                        {{ field|bootstrap }}
                    {%endif%}
                {%endfor%}
            </div>
        </div>
    </div>
</div>