PCv5/app/templates/post/merge_post.html

38 lines
879 B
HTML

{% extends "base/base.html" %}
{% import "widgets/editor.html" as widget_editor %}
{% import "widgets/user.html" as widget_user %}
{% set tabtitle = "Déplacer un commentaire" %}
{% block title %}
<a href='/forum'>Forum de Planète Casio</a> » Fusion de commentaire</h1>
{% endblock %}
{% block content %}
<section>
<h1>Fusionner deux commentaires</h1>
<table class="thread comment">
<tr>
<td class="author">{{ widget_user.profile(comment.author) }}</td>
<td><div>{{ comment.text | md }}</div></td>
</tr>
</table>
<form action="" method="post">
<h3></h3>
{{ merge_form.hidden_tag() }}
<div>
{{ merge_form.post.label }}
{{ merge_form.post }}
{% for error in merge_form.post.errors %}
<span class="msgerror">{{ error }}</span>
{% endfor %}
</div>
<div>{{ merge_form.submit(class_='bg-ok') }}</div>
</form>
</section>
{% endblock %}