{% import 'macros_form.html' as form without context %} {% macro my_msgbox() -%} {% if not in_bscw %}
{% endif %} {% if vote_end is defined %}

{{ vote_end }}

{% endif %} {% if voted_before_end %}

{{ trans('label_thank_you') }}

{% if change_url %} {% call form.innerbtngroup() %} {% call form.innerbtn(type='html') %} {{ trans('label_change_your_opinion') }} {% endcall %} {% endcall %} {% endif %} {% endif %} {% if please_vote %}

{{ trans('label_not_voted_yet') }}

{% call form.innerbtngroup() %} {% call form.innerbtn(type='html') %} {{ trans('label_btn_vote') }} {% endcall %} {% endcall %} {% endif %} {% if not in_bscw %}
{% endif %} {% endmacro %} {{ form.msgbox(content=my_msgbox()) if in_bscw else my_msgbox() }}