{% from 'message_box.html' import message_box %} {% macro render_regform_info(regform) %}
{% if regform.is_scheduled %}
{% trans %}From{% endtrans %} {{ regform.start_dt|format_date(timezone=regform.event_new.tzinfo) }}
{% trans %}To{% endtrans %} {% if regform.end_dt %} {{ regform.end_dt|format_date(timezone=regform.event_new.tzinfo) }} {% else %} {% trans %}Not specified{% endtrans %} {% endif %}
{% endif %} {% if regform.base_price -%}
{% trans %}Registration fee{% endtrans %}
{{ regform.render_base_price() }}
{%- endif %} {% if regform.contact_info %}
{% trans %}Contact info{% endtrans %}
{{ regform.contact_info }}
{% endif %}
{% if regform.introduction %} {{ message_box('info', regform.introduction | markdown) }} {% endif %} {% endmacro %}