Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (14 sloc) 618 Bytes
{% extends "base.html" %}
{% block content %}
<p>
{{ _("Are you sure you want to %(verb)s <a href=\"%(link)s\">%(title)s</a>?") % {"link": "/" + entry.slug, "title": escape(entry.title), "verb": _("un-hide") if entry.hidden else _("hide") } }}
</p>
<form action="{{ request.path }}" method="post">
{{ xsrf_form_html() }}
<input type="hidden" name="key" value="{{ str(entry.key()) }}"/>
{% if entry.hidden %}
<input type="hidden" name="unhide" value="1"/>
{% end %}
<input type="submit" class="submit" value="{{ _("Un-hide") if entry.hidden else _("Hide") }}"/>
</form>
{% end %}