crispy-daisyui 0.2.0__py3-none-any.whl → 0.5.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.
@@ -1 +1 @@
1
- __version__ = "0.2.0"
1
+ __version__ = "0.5.0"
@@ -1,7 +1,6 @@
1
1
  {% load crispy_forms_filters %}
2
2
  {% load l10n %}
3
3
 
4
-
5
4
  {% for choice in field.field.choices %}
6
5
  <div class="form-control">
7
6
  <label class="label cursor-pointer" for="id_{{ field.html_name }}_{{ forloop.counter }}">
@@ -13,4 +12,3 @@
13
12
  {% endif %}
14
13
  </div>
15
14
  {% endfor %}
16
- </div>
@@ -10,6 +10,5 @@
10
10
  {% if field.errors and forloop.last %}
11
11
  {# include 'daisyui/layout/field_errors_block.html' <-- bs4 template adds this here. Currently this pack adds it in field.html #}
12
12
  {% endif %}
13
+ </div>
13
14
  {% endfor %}
14
-
15
- </div>
@@ -1,9 +1,11 @@
1
1
  {% load crispy_forms_filters %}
2
2
  {% load l10n %}
3
3
 
4
- <select class="select select-bordered w-full focus:ring focus:outline-none {% if field.errors %}select-error {% endif %}" name="{{ field.html_name }}" {{ field.field.widget.attrs|flatatt }}>
4
+ <select class="select select-bordered w-full focus:ring focus:outline-none{% if field.errors %} select-error {% endif %}"
5
+ name="{{ field.html_name }}"
6
+ id="{% if input.id %}{{ input.id }}{% else %}{{ input.input_type }}-id-{{ input.name|slugify }}{% endif %}"
7
+ {{ field.field.widget.attrs|flatatt }}>
5
8
  {% for value, label in field.field.choices %}
6
9
  {% include "daisyui/layout/select_option.html" with value=value label=label %}
7
10
  {% endfor %}
8
- </select>
9
- </div>
11
+ </select>
@@ -93,7 +93,7 @@ class CrispyDaisyUiFieldNode(template.Node):
93
93
  "multiplehidden": "",
94
94
  "file": "file-input file-input-bordered w-full focus:ring focus:outline-none",
95
95
  "clearablefile": "file-input file-input-bordered w-full focus:ring focus:outline-none",
96
- "textarea": base_input,
96
+ "textarea": "textarea textarea-bordered w-full focus:ring focus:outline-none",
97
97
  "date": base_input,
98
98
  "datetime": base_input,
99
99
  "time": base_input,
@@ -1,13 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: crispy-daisyui
3
- Version: 0.2.0
3
+ Version: 0.5.0
4
4
  Summary: A DaisyUI package for Django Crispy Forms
5
5
  Home-page: https://github.com/fabge/crispy-daisyui
6
6
  Author: Fabian Geiger
7
7
  Author-email: geiger.fabian@outlook.com
8
8
  License: MIT
9
9
  Keywords: forms,django,crispy,tailwind,daisyui
10
- Platform: UNKNOWN
11
10
  Classifier: Development Status :: 2 - Pre-Alpha
12
11
  Classifier: Environment :: Web Environment
13
12
  Classifier: Framework :: Django
@@ -35,7 +34,7 @@ crispy-daisyui
35
34
 
36
35
  A `daisyUI`_ template pack for the wonderful django-crispy-forms_.
37
36
 
38
- This repository is a fork of `crispy-daisyui`_ and has been modified just enough to suit my needs.
37
+ This repository is a fork of `crispy-tailwind`_ and has been modified just enough to suit my needs.
39
38
  It works well for the most common forms elements.
40
39
 
41
40
  **WARNING**
@@ -90,4 +89,3 @@ We can also use the ``{% crispy %}`` tag to allow usage of crispy-forms'
90
89
  .. _daisyUI: https://daisyui.com
91
90
  .. _crispy-tailwind: https://github.com/django-crispy-forms/crispy-tailwind
92
91
  .. _django-crispy-forms: https://github.com/django-crispy-forms/django-crispy-forms
93
-
@@ -1,4 +1,4 @@
1
- crispy_daisyui/__init__.py,sha256=Zn1KFblwuFHiDRdRAiRnDBRkbPttWh44jKa5zG2ov0E,22
1
+ crispy_daisyui/__init__.py,sha256=LBK46heutvn3KmsCrKIYu8RQikbfnjZaj2xFrXaeCzQ,22
2
2
  crispy_daisyui/daisyui.py,sha256=P-UjhIlS_Tia7tvQl18L16JZb_Kyd6yDqKtaKYdGmNE,2281
3
3
  crispy_daisyui/layout.py,sha256=sJ7yFExo5nL1cvQ_fiSR7uY4I7mHjq_YJdP5KXXHVd0,2135
4
4
  crispy_daisyui/templates/daisyui/display_form.html,sha256=lOFZD53-Icz4Vklld4U1psoR8isugZZmhn_Br5bcy3Y,258
@@ -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/checkboxselectmultiple.html,sha256=gwR97cdiZ9k2vSrPJs2h3QtVpZEryYjzbol8eRusOfI,959
17
+ crispy_daisyui/templates/daisyui/layout/checkboxselectmultiple.html,sha256=kn1Hb5mkMwb_inzeKfbAA0Sm_Hd9spbFmq0G_oI6VYU,951
18
18
  crispy_daisyui/templates/daisyui/layout/column.html,sha256=PJPuIJhyqgLKFGtYnx5ueYtge-FsemSk21168ghfXAs,161
19
19
  crispy_daisyui/templates/daisyui/layout/div.html,sha256=BAN5QbRtm3lmxi5gpKKBwLu2-5L05ZCN9JD7nYNHWWw,182
20
20
  crispy_daisyui/templates/daisyui/layout/field_errors.html,sha256=5tZz6oxlA0-8CDpdsyhCjTn73zTZAjETc4oAfFUUDM0,241
@@ -26,16 +26,16 @@ crispy_daisyui/templates/daisyui/layout/help_text.html,sha256=n0DIIhqPFRTP6ucQ4i
26
26
  crispy_daisyui/templates/daisyui/layout/help_text_and_errors.html,sha256=3eDpjivVwe2C8BB7X4H9ngj0Zh2mPj1cBIRVcInye7o,370
27
27
  crispy_daisyui/templates/daisyui/layout/inline_field.html,sha256=cfzb0Wyf7TvAywrUf34R2GMvegJMTAgVlJbC84dqiJc,853
28
28
  crispy_daisyui/templates/daisyui/layout/prepended_appended_text.html,sha256=_8nZ3kIu3y8aJWsMAbZfcjhUzad6-cudxQ8wWfpXO6M,3068
29
- crispy_daisyui/templates/daisyui/layout/radioselect.html,sha256=N1UUowpPtFqOiWb1tOKb9wkBYF1HXdBPDrnHBvuNJRg,851
29
+ crispy_daisyui/templates/daisyui/layout/radioselect.html,sha256=UhptN_uXmgjfss5EsWGJqCrwuWfwbcaXRFgqZFj66OY,854
30
30
  crispy_daisyui/templates/daisyui/layout/radioselect_inline.html,sha256=vQxTJBN7mm5n57sdcRI86SZwllGu_asrR8QnIHj-MT0,893
31
31
  crispy_daisyui/templates/daisyui/layout/row.html,sha256=qGv5hSu1_QDZTqQDKhEwry4eJCBqei7m4yARuDVNEmM,169
32
- crispy_daisyui/templates/daisyui/layout/select.html,sha256=rxmSP_H_kpiMmzG5VqbiPkrT9058YaVvR8gSldo1dNI,411
32
+ crispy_daisyui/templates/daisyui/layout/select.html,sha256=-_xw2lGdNfBVAE0SD-i2cHrN3rC9iGw91UgNK0LQP8E,525
33
33
  crispy_daisyui/templates/daisyui/layout/select_option.html,sha256=c5oNLFw_hYICvixovxbd6o1EI_8aqYT38DudWlaDOmg,237
34
34
  crispy_daisyui/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
- crispy_daisyui/templatetags/daisyui_field.py,sha256=DAq2Z4KmWHjwHkpFGy-s3n2WhR5JuaG-4WVx6HHSL9c,7421
35
+ crispy_daisyui/templatetags/daisyui_field.py,sha256=TWa1sbQjM82Z5--C6MPi8vhKCKQlEjDRGZ7IGKhgDXs,7476
36
36
  crispy_daisyui/templatetags/daisyui_filters.py,sha256=4RCNLV-fS6Pe3fwdMgqnExFtAHYGdtMB016nzt9fdno,3708
37
- crispy_daisyui-0.2.0.dist-info/LICENSE.txt,sha256=PzRbBf7JOKfauYvmChUSkC9MyRgG9utHlzWt4IzfEV0,1075
38
- crispy_daisyui-0.2.0.dist-info/METADATA,sha256=UyA5Ad674US3_QvS3gFeU4pM0xqmLK83KJOpQ15usP0,3008
39
- crispy_daisyui-0.2.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
40
- crispy_daisyui-0.2.0.dist-info/top_level.txt,sha256=iUfAwww7rFyMb7SijKgjBe3vui_xvSHOovH4tPtPjTo,15
41
- crispy_daisyui-0.2.0.dist-info/RECORD,,
37
+ crispy_daisyui-0.5.0.dist-info/LICENSE.txt,sha256=PzRbBf7JOKfauYvmChUSkC9MyRgG9utHlzWt4IzfEV0,1075
38
+ crispy_daisyui-0.5.0.dist-info/METADATA,sha256=Ltc8nkkwR2mp5a3Whdsp-q4mN4FhAmslKv6REFoUbJc,2990
39
+ crispy_daisyui-0.5.0.dist-info/WHEEL,sha256=HiCZjzuy6Dw0hdX5R3LCFPDmFS4BWl8H-8W39XfmgX4,91
40
+ crispy_daisyui-0.5.0.dist-info/top_level.txt,sha256=iUfAwww7rFyMb7SijKgjBe3vui_xvSHOovH4tPtPjTo,15
41
+ crispy_daisyui-0.5.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: setuptools (72.2.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5