Commit 073a5411 authored by ∞'s avatar 💻

Fix right cancels button

parent d5ad6824
......@@ -20,7 +20,7 @@
{%- if not view.turbolinks|default(True) %}
data-turbolinks="false"
{%- endif %}
>
>
<i class="{% if iclass == True %}{% for color in (view.color|default('')).split(' ') %}{{ color }}-text {% endfor %}{% elif iclass %}{{ iclass }}{% endif %} material-icons">{{ view.material_icon }}</i>
{% if text == True %}
{{ view.title_menu }}
......
......@@ -35,7 +35,7 @@
{% block buttons %}
{{ render_button(view.title_submit, button_type="submit", button_class="btn-primary") }}
{% if request.META.get('HTTP_X_MODAL') %}
<a style="position: absolute; right: 0" class="modal-close waves-effect waves-green btn-flat">{{ _('cancel') }}</a>
<a style="position: absolute; right: 1.5rem" class="modal-close waves-effect waves-green btn red">{{ _('cancel') }}</a>
{% endif %}
{% endblock %}
......
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