File tree 8 files changed +18
-39
lines changed
components/templates/components/Form
8 files changed +18
-39
lines changed Original file line number Diff line number Diff line change 1
1
{% load l10n form_tags %}
2
2
3
- < label class ="radio ">
3
+ < div class ="radio ">
4
4
{% spaceless %}
5
5
{% initial_match as checked %}
6
6
< input
13
13
/>
14
14
< label class ="radio__label " for ="id_{{ name }}_{{ index }} "> {{ choice.1 }}</ label >
15
15
{% endspaceless %}
16
- </ label >
16
+ </ div >
Original file line number Diff line number Diff line change 3
3
< div class ="form__control {{ extra_classes|default: "" }}">
4
4
< label class ="label {% if no_label %}label--gapless{% endif %} ">
5
5
{% if icon %}{% icon icon outlined=True %}{% endif %}
6
- < label class ="label__label {% if no_label %}label__label--hidden{% endif %} ">
6
+ < span class ="label__label {% if no_label %}label__label--hidden{% endif %} ">
7
7
{{ field.label }}
8
8
{% if field.field.required %}< span class ="label__label--required "> * </ span > {% endif %}
9
- </ label >
9
+ </ span >
10
10
{{ field|addclass:"input" }}
11
11
{% if field.help_text and not no_help %}
12
12
< p class ="p "> {{ field.help_text }}</ p >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66
66
.form .caption__content {
67
67
color : var (--color-tinted-mute );
68
68
}
69
+
70
+ .card__body--direction-horizontal .link .link__text {
71
+ text-align : right ;
72
+ padding-left : var (--spacing-small );
73
+ }
69
74
}
70
75
71
76
& __img {
Original file line number Diff line number Diff line change 10
10
margin : 0 ;
11
11
gap : 18px ;
12
12
13
- label {
13
+ label ,
14
+ .label {
14
15
display : flex ;
15
16
flex-direction : row ;
16
17
gap : 10px ;
Original file line number Diff line number Diff line change @@ -24,16 +24,16 @@ <h1 class="h1">{% trans "Start nieuwe samenwerking" %}</h1>
24
24
< div > {% trans "Doel" %}</ div >
25
25
< div > </ div >
26
26
</ div >
27
- < label class ="plan-template__row radio ">
27
+ < div class ="label plan-template__row radio ">
28
28
< div >
29
29
< input class ="radio__input " type ="radio " name ="template " value ="" id ="id_template_0 " {% if not form.data.template %}checked{% endif %} >
30
30
< label class ="radio__label " for ="id_template_0 "> Geen template</ label >
31
31
</ div >
32
32
< div > </ div >
33
33
< div > </ div >
34
- </ label >
34
+ </ div >
35
35
{% for tpl_id, plan_template in form.template.field.choices %}
36
- < label class ="plan-template__row radio ">
36
+ < div class ="label plan-template__row radio ">
37
37
< div >
38
38
< input class ="radio__input " type ="radio " name ="template " value ="{{ plan_template.id }} " id ="id_template_{{ plan_template.id }} "
39
39
{% if tpl_id == form.data.template %}checked{% endif %} >
@@ -60,7 +60,7 @@ <h2 class="h2 modal__title" id="modal__title">{{ plan_template.name }}
60
60
</ div >
61
61
</ div >
62
62
</ div >
63
- </ label >
63
+ </ div >
64
64
{% endfor %}
65
65
</ div >
66
66
Original file line number Diff line number Diff line change 1
1
< input type ="{{ widget.type }} " name ="{{ widget.name }} " data-init ="{{ widget.value|default:'' }} "{% include "django/forms/widgets/attrs.html" %}>
2
- < label >
2
+ < span >
3
3
< input type ="text " name ="{{ widget.init_name }} " id ="{{ widget.init_id }} " {% if widget.value %} value ="{{ widget.value.instance.uuid }} "{% endif %} class ="message-file__init ">
4
- </ label >
4
+ </ span >
5
5
Original file line number Diff line number Diff line change 1
1
{% if widget.is_initial %}{{ widget.initial_text }}: < a href ="{{ url }} "> {{ widget.value }}</ a > {% if not widget.required %}
2
2
< input type ="checkbox " name ="{{ widget.checkbox_name }} " id ="{{ widget.checkbox_id }} "{% if widget.attrs.disabled %} disabled{% endif %} >
3
- < label for ="{{ widget.checkbox_id }} "> {{ widget.clear_checkbox_label }}</ label > {% endif %}< br >
3
+ < span for ="{{ widget.checkbox_id }} "> {{ widget.clear_checkbox_label }}</ span > {% endif %}< br >
4
4
{{ widget.input_text }}:{% endif %}
5
5
< input type ="{{ widget.type }} " name ="{{ widget.name }} "{% include "django/forms/widgets/attrs.html" %}>
You can’t perform that action at this time.
0 commit comments