{#- ---------------------------------------------------------------------------- Macro for rendering a form widget in default style. ----------------------------------------------------------------------------- #} {%- macro render_form_item_default(form_item, with_errors = True, placeholder = None) %}
{{ form_item_value }}
{{ _('For more in-depth information about the syntax, please study the official documentation webpage.', url = 'https://ransack-125e0a.gitlab-pages.cesnet.cz/language.html') }}
{%- endcall %} {{ form_item(class_='form-control monaco-hidden-input' + (' is-invalid' if with_errors and form_item.errors else ''), placeholder=placeholder, hidden=true, **kwargs) }}{{ 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')) }}