mirror of
https://github.com/flextype/flextype.git
synced 2025-08-15 17:44:17 +02:00
feat(form-plugin): fix date format for date time picker
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<div class="form-group {{ size }}">
|
||||
<label for="{{ id }}" class="form-control-title">{{ tr(title) }}</label>
|
||||
<input type="text" id="{{ id }}" name="{{ id }}" value="{{ value }}" class="js-datetimepicker {{ class }}">
|
||||
<input type="text" id="{{ id }}" name="{{ id }}" value="{{ value|date(registry.flextype.date_display_format) }}" class="js-datetimepicker {{ class }}">
|
||||
{% if help %}
|
||||
<small>{{ help }}</small>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user