{# Template for editing date and time in a dynamic Form #} {% import 'macros_form.html' as form with context %} {% if js is defined %}{{ js }}{% endif %} {% call form.tablefield(label=trans('menu_chdtime'), name='%sdate' % uid, rowid='%sdate' % uid, type='content') %} {% if tzinfo %}
{{ trans('label_timezone_info') }}
{% endif %} {% if not request.is_mobile %}{% endif %} {% if dt_start_Err_ is defined %}{{ form.err(dt_start_Err_, cl='bscwError') }}{% endif %} {{ dt_start }} {% if dt_end is defined %} {% if request.is_mobile %}
{% endif %}{% if not request.is_mobile %}
{% endif %} {% if dt_end_Err_ is defined %}{{ form.err(dt_end_Err_, cl='error %s' % ('ibl' if not request.is_mobile else '')) }}{% endif %} {{ dt_end }} {% if request.is_mobile %}
{% endif %} {% endif %} {% if not request.is_mobile %}
{% endif %} {% if dt_hint is defined %}{{ dt_hint }}{% endif %} {% endcall %} {% if zone is defined %} {% call form.tablefield(label=trans('label_timezone'), errorid='zone', rowid='%szone' % uid, type='content') %} {{ zone }} {% endcall %} {% endif %}