Use custom inputs for date picker and amounts
This commit is contained in:
parent
45b14ed1bd
commit
f81e2b5b5b
16 changed files with 518 additions and 62 deletions
4
templates/bootstrap_datepicker_plus/input.html
Normal file
4
templates/bootstrap_datepicker_plus/input.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<input type="{{ widget.type }}" name="{{ widget.name }}"{% if widget.value != None and widget.value != "" %}
|
||||
value="{{ widget.value }}"{% endif %}{% for name, value in widget.attrs.items %}{% ifnotequal value False %}
|
||||
{{ name }}{% ifnotequal value True %}="{{ value|stringformat:'s' }}"{% endifnotequal %}
|
||||
{% endifnotequal %}{% endfor %}/>
|
||||
Loading…
Add table
Add a link
Reference in a new issue