File tree Expand file tree Collapse file tree 5 files changed +17
-8
lines changed Expand file tree Collapse file tree 5 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class ContactForm(DsfrBaseForm):
55
55
subject = forms .ChoiceField (
56
56
label = "Votre sujet" ,
57
57
choices = [
58
- ("" , "" ),
58
+ ("" , "Sélectionner une option " ),
59
59
(
60
60
"integration" ,
61
61
"Je souhaite obtenir de l'aide pour intégrer cet outil" ,
Original file line number Diff line number Diff line change 5
5
class ="qf-bg-none qf-flex qf-gap-2w "
6
6
data-testid ="header-logo-link "
7
7
href ="{% url 'home' %} "
8
+ title ="Que faire de mes Objets ou Déchets ? - Page d'accueil "
8
9
>
9
10
< img
10
11
src ="{% static 'assistant/bloc-marque.svg' %} "
Original file line number Diff line number Diff line change 19
19
data-turbo-frame ="search-results "
20
20
action ="{% url 'qfdmd:search' %} "
21
21
class ="qf-pl-4w {# should match the svg icon width #}
22
- qf-flex qf-relative
22
+ qf-flex qf-flex-row-reverse qf- relative
23
23
md:group-data-[home]:qf-h-7w
24
24
qf-h-5w
25
25
qf-content-center
26
26
"
27
27
>
28
+
29
+ {% for field in search_form %}
30
+ {{ field }}
31
+ {% endfor %}
28
32
< button
29
33
aria-label ="Rechercher "
30
34
type ="submit "
31
35
class ="qf-absolute qf-top-0 qf-bottom-0 qf-left-0
32
36
qf-m-auto qf-pl-1v
33
37
fr-btn fr-icon-search-line fr-btn--tertiary-no-outline
38
+ focus:qf-bg-green-menthe-850-hover
39
+ focus:qf-text-white
40
+ focus:!qf-outline-none
41
+ qf-h-full
42
+ !qf-max-h-[none]
34
43
qf-text-green-menthe-main-548 "
35
44
> </ button >
36
-
37
- {% for field in search_form %}
38
- {{ field }}
39
- {% endfor %}
40
45
</ form >
41
46
42
47
< turbo-frame
Original file line number Diff line number Diff line change 4
4
5
5
It is used mainly for styles, to add clasnames.
6
6
{% endcomment %}
7
+ < label for ="{{ widget.attrs.id }} " class ="qf-sr-only "> Entrez un déchet :</ label >
7
8
< input
8
9
class ="qf-pl-1w qf-pr-2w
9
10
focus:qf-outline-none
Original file line number Diff line number Diff line change 23
23
< p class ="qf-m-0 ">
24
24
En panne d’inspiration ? Essayez une des suggestions ci‑dessous.
25
25
</ p >
26
- < div
26
+ < ul
27
27
class ="qf-flex qf-gap-x-2w qf-gap-y-3w
28
28
qf-flex-wrap qf-items-center qf-justify-center "
29
29
>
30
30
{% for suggestion in object_list %}
31
31
{% with suggestion.produit as produit %}
32
+ < li class ="qf-list-none qf-p-0 ">
32
33
< a
33
34
class ="qf-btn "
34
35
href ="{% url 'qfdmd:synonyme-detail' slug=produit.slug %}{% if request.GET %}?{{ request.GET.urlencode }}{% endif %} "
35
36
>
36
37
{{ produit.nom|capfirst }}
37
38
</ a >
39
+ </ li >
38
40
{% endwith %}
39
41
{% endfor %}
40
- </ div >
42
+ </ ul >
41
43
</ div >
42
44
43
45
< div class ="qf-max-w-3xl qf-mx-auto ">
You can’t perform that action at this time.
0 commit comments