{#- ---------------------------------------------------------------------------- Macro for rendering a form widget in default style. ----------------------------------------------------------------------------- #} {%- macro render_form_item_default(form_item, with_errors = True, placeholder = None) %}
{{ form_item_value }}
{{ item.description | safe }}
{{ item.description | safe }}
{%- endif %} {{ caller() }} {%- if hawat_current_view.has_help %}{{ macros_page.render_help_link(icon = 'reference', text = _('more help'), tooltip_text = '') }}
{%- endif %}{{ _('For more in-depth information about the IDEA event format please study official documentation webpage.', url = 'https://idea.cesnet.cz/en/definition') }}
{%- endmacro %} {%- macro render_help_datetime() %}
{{ _('User may change his/her timezone preferences in his/her account settings. Alternatively you may use unambiguous explicit UTC timestamps in the format YYYY-MM-DDThh:mm:ssZ
. UTC timestamps are particularly usefull for pre-generated URLs, that are independent of the user preferences.', url = url_for('users.me')) }}