Commit 5a629097 authored by ∞'s avatar 💻

Push cancel button to the right

parent ca8caa1f
......@@ -33,10 +33,10 @@
{% endblock %}
{% block buttons %}
{{ render_button(view.title_submit, button_type="submit", button_class="btn-primary") }}
{% if request.META.get('HTTP_X_MODAL') %}
<a class="modal-close waves-effect waves-green btn-flat">{{ _('cancel') }}</a>
<a style="position: absolute; right: 0" class="modal-close waves-effect waves-green btn-flat">{{ _('cancel') }}</a>
{% endif %}
{{ render_button(view.title_submit, button_type="submit", button_class="btn-primary") }}
{% endblock %}
{% block form_close %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment