<!DOCTYPE html>

    {% include 'partials/head.html' %}
	{% include 'partials/header.html' %}
	{% include 'partials/video.html' %}

<div class="main-page">
    <div class="middle-content">
        <div class="body-content">
            <div class="title-content"><h1>Editar mensaje</h1></div>
            <div class="box-content">
                <div class="body-box-content">
                    {% include 'forum/_style.html' %}
                    <div class="forum-wrap forum-form">
                        <form action="{% url 'forum_update_post' post_id=post.id %}" method="POST">
                            {% csrf_token %}
                            {{ form.text }}
                            <div class="forum-actions">
                                <button type="submit" class="forum-btn">Guardar cambios</button>
                                <a class="forum-btn" href="{% url 'forum_topic_p1' topic_id=post.topic_id %}">Cancelar</a>
                            </div>
                        </form>
                        {{ form.media }}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

	{% include 'partials/social.html' %}
	{% include 'partials/footer.html' %}
	{% include 'partials/final.html' %}
