##// END OF EJS Templates
Added error response sample
Added error response sample

File last commit:

r566:f1e34d4b 1.7-dev
r790:fcde444b decentral
Show More
post_admin.html
38 lines | 1.1 KiB | text/html | HtmlLexer
{% extends "boards/base.html" %}
{% load i18n %}
{% load cache %}
{% load static from staticfiles %}
{% load board %}
{% block head %}
<title>#{{ post.id }} - {{ site_name }}</title>
{% endblock %}
{% block content %}
{% spaceless %}
{% post_view post moderator=moderator %}
{% if post.is_opening %}
<div class="post">
{% trans 'Tags:' %}
{% for tag in post.thread_new.get_tags %}
<a class="tag" href={% url 'tag' tag.name %}>#{{ tag.name }}</a>
<a href="?method=delete_tag&tag={{ tag.name }}">[X]</a>
{% if not forloop.last %},{% endif %}
{% endfor %}
<div class="post-form-w">
<form id="form" enctype="multipart/form-data"
method="post">{% csrf_token %}
{{ tag_form.as_div }}
<div class="form-submit">
<input type="submit" value="{% trans "Add tag" %}"/>
</div>
</form>
</div>
</div>
{% endif %}
{% endspaceless %}
{% endblock %}