crispy-daisyui 0.7.0__py3-none-any.whl → 0.9.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- crispy_daisyui/templates/daisyui/layout/checkbox.html +0 -2
- crispy_daisyui/templates/daisyui/layout/select.html +10 -8
- crispy_daisyui/templates/daisyui/layout/select_option.html +11 -1
- {crispy_daisyui-0.7.0.dist-info → crispy_daisyui-0.9.0.dist-info}/METADATA +5 -4
- {crispy_daisyui-0.7.0.dist-info → crispy_daisyui-0.9.0.dist-info}/RECORD +8 -8
- {crispy_daisyui-0.7.0.dist-info → crispy_daisyui-0.9.0.dist-info}/WHEEL +1 -1
- {crispy_daisyui-0.7.0.dist-info → crispy_daisyui-0.9.0.dist-info/licenses}/LICENSE +0 -0
- {crispy_daisyui-0.7.0.dist-info → crispy_daisyui-0.9.0.dist-info}/top_level.txt +0 -0
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{% load crispy_forms_filters %}
|
|
2
2
|
{% load l10n %}
|
|
3
3
|
|
|
4
|
-
<select
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
<select
|
|
5
|
+
class="select select-bordered w-full focus:ring focus:outline-none{% if field.errors %} select-error{% endif %}"
|
|
6
|
+
name="{{ field.html_name }}"
|
|
7
|
+
id="{{ field.id_for_label }}"
|
|
8
|
+
{% if field.field.widget.allow_multiple_selected %}multiple{% endif %}
|
|
9
|
+
{{ field.field.widget.attrs|flatatt }}>
|
|
10
|
+
{% for value, label in field.field.choices %}
|
|
11
|
+
{% include "daisyui/layout/select_option.html" with value=value label=label %}
|
|
12
|
+
{% endfor %}
|
|
13
|
+
</select>
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
{% load crispy_forms_filters %}
|
|
2
2
|
{% load l10n %}
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
{% with current=field.value multi=field.field.widget.allow_multiple_selected %}
|
|
5
|
+
<option value="{{ value|stringformat:'s' }}"
|
|
6
|
+
{% if current %}
|
|
7
|
+
{% if multi %}
|
|
8
|
+
{% if value|stringformat:'s' in current %}selected{% endif %}
|
|
9
|
+
{% else %}
|
|
10
|
+
{% if current|stringformat:'s' == value|stringformat:'s' %}selected{% endif %}
|
|
11
|
+
{% endif %}
|
|
12
|
+
{% endif %}
|
|
13
|
+
>{{ label }}</option>
|
|
14
|
+
{% endwith %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: crispy-daisyui
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.9.0
|
|
4
4
|
Summary: A DaisyUI package for Django Crispy Forms
|
|
5
5
|
Author: Fabian Geiger
|
|
6
6
|
License: Apache-2.0
|
|
@@ -13,8 +13,9 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
13
13
|
Requires-Python: >=3.7
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
15
|
License-File: LICENSE
|
|
16
|
-
Requires-Dist: django-crispy-forms
|
|
17
|
-
Requires-Dist: django
|
|
16
|
+
Requires-Dist: django-crispy-forms>=1.11.2
|
|
17
|
+
Requires-Dist: django>=3.2
|
|
18
|
+
Dynamic: license-file
|
|
18
19
|
|
|
19
20
|
# crispy-daisyui
|
|
20
21
|
|
|
@@ -14,7 +14,7 @@ crispy_daisyui/templates/daisyui/whole_uni_formset.html,sha256=SAb7RaEUpI8Sd5j5b
|
|
|
14
14
|
crispy_daisyui/templates/daisyui/layout/alert.html,sha256=bFc1e4UQCG4bVN8K9HpBQaZsNAMnld1Yj6HEDplgd58,766
|
|
15
15
|
crispy_daisyui/templates/daisyui/layout/baseinput.html,sha256=YayTE-BqUKdb7k1M6FrAuuwpDduTbkyfOrke0jEeAW4,428
|
|
16
16
|
crispy_daisyui/templates/daisyui/layout/button.html,sha256=ZW5R0kxa3PvkXSYcKgl-hW8vuv3TfdkCGB3YvekIRTI,84
|
|
17
|
-
crispy_daisyui/templates/daisyui/layout/checkbox.html,sha256=
|
|
17
|
+
crispy_daisyui/templates/daisyui/layout/checkbox.html,sha256=fiZ8pKvKhtr3UuInPtftvo6HDgXbShYyVn1HoA3Op3c,438
|
|
18
18
|
crispy_daisyui/templates/daisyui/layout/checkboxselectmultiple.html,sha256=igqqVFrAcxmGnL1Q_TjdorUXpjXX7r9b6EZHBV66264,863
|
|
19
19
|
crispy_daisyui/templates/daisyui/layout/column.html,sha256=PJPuIJhyqgLKFGtYnx5ueYtge-FsemSk21168ghfXAs,161
|
|
20
20
|
crispy_daisyui/templates/daisyui/layout/div.html,sha256=BAN5QbRtm3lmxi5gpKKBwLu2-5L05ZCN9JD7nYNHWWw,182
|
|
@@ -30,14 +30,14 @@ crispy_daisyui/templates/daisyui/layout/prepended_appended_text.html,sha256=_8nZ
|
|
|
30
30
|
crispy_daisyui/templates/daisyui/layout/radioselect.html,sha256=UhptN_uXmgjfss5EsWGJqCrwuWfwbcaXRFgqZFj66OY,854
|
|
31
31
|
crispy_daisyui/templates/daisyui/layout/radioselect_inline.html,sha256=vQxTJBN7mm5n57sdcRI86SZwllGu_asrR8QnIHj-MT0,893
|
|
32
32
|
crispy_daisyui/templates/daisyui/layout/row.html,sha256=qGv5hSu1_QDZTqQDKhEwry4eJCBqei7m4yARuDVNEmM,169
|
|
33
|
-
crispy_daisyui/templates/daisyui/layout/select.html,sha256
|
|
34
|
-
crispy_daisyui/templates/daisyui/layout/select_option.html,sha256=
|
|
33
|
+
crispy_daisyui/templates/daisyui/layout/select.html,sha256=KNpc8KHABlmmsv9f0gw1KlNOmdvs1hYId89vIHMH1l4,506
|
|
34
|
+
crispy_daisyui/templates/daisyui/layout/select_option.html,sha256=CKgPAMLoTsCzATUjyLrzF5KKOIVK85RaPl_emWxEIGY,464
|
|
35
35
|
crispy_daisyui/templates/daisyui/layout/toggle.html,sha256=i8F7a9Wx-rkuQ6QEvFRXo2h4CngfQMOYifrNt6kmYWQ,418
|
|
36
36
|
crispy_daisyui/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
37
|
crispy_daisyui/templatetags/daisyui_field.py,sha256=FQz008pHvHN2w5dOe5FCIpJIPnWhBbYaGw8CdWt97yA,7680
|
|
38
38
|
crispy_daisyui/templatetags/daisyui_filters.py,sha256=4RCNLV-fS6Pe3fwdMgqnExFtAHYGdtMB016nzt9fdno,3708
|
|
39
|
-
crispy_daisyui-0.
|
|
40
|
-
crispy_daisyui-0.
|
|
41
|
-
crispy_daisyui-0.
|
|
42
|
-
crispy_daisyui-0.
|
|
43
|
-
crispy_daisyui-0.
|
|
39
|
+
crispy_daisyui-0.9.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
40
|
+
crispy_daisyui-0.9.0.dist-info/METADATA,sha256=dZazKUeQALKao_u2hIE8enK02Iuj16YQvshEBVzZGes,2119
|
|
41
|
+
crispy_daisyui-0.9.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
42
|
+
crispy_daisyui-0.9.0.dist-info/top_level.txt,sha256=iUfAwww7rFyMb7SijKgjBe3vui_xvSHOovH4tPtPjTo,15
|
|
43
|
+
crispy_daisyui-0.9.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|