{% extends "base.html" %}

{% block interface %}

<section id="interface">
    {% if messages %}
        <ul>
            {% for message in messages %}
                <li style="color: green;">{{ message }}</li>
            {% endfor %}
        </ul>
    {% endif %}

    <div class="board">
        {% include "_navigation.html" %}
        <div class="div-form">
            <h1>Duplicar Movimiento</h1>
            <div class="form-group">
                <form method="post">
                    {% csrf_token %}
                    {{ form.as_p }}
                    <button class="btn btn-success" type="submit">Guardar copia</button>
                </form>
            </div>
        </div>

        <div class="botones">
            <a href="{% url 'dashboard' %}"><button class="btn btn-danger" type="button">Cancelar</button></a>
        </div>
    </div>
</section>
{% endblock %}