No crash but not datapicker (To fix)
This commit is contained in:
parent
bf0afc4fc5
commit
558350d05b
3 changed files with 26 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
||||||
|
<div class="input-group date">
|
||||||
|
{% include "bootstrap_datepicker_plus/input.html" %}
|
||||||
|
<div class="input-group-addon input-group-append input-group-text">
|
||||||
|
<i class="glyphicon glyphicon-calendar"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
14
note_kfet/templates/bootstrap_datepicker_plus/input.html
Normal file
14
note_kfet/templates/bootstrap_datepicker_plus/input.html
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<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 %}
|
||||||
|
{% if value != False %}
|
||||||
|
{{ name }}
|
||||||
|
{% if value != True %}
|
||||||
|
="{{ value|stringformat:'s' }}"
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %} />
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
<div class="input-group date">
|
||||||
|
{% include "bootstrap_datepicker_plus/input.html" %}
|
||||||
|
<div class="input-group-addon input-group-append input-group-text">
|
||||||
|
<i class="glyphicon glyphicon-time"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue