Source

moin-2.0 / MoinMoin / templates / destroy.html

Full commit
Thomas Waldmann 5568cf1 
Jaiditya 5acaea3 
Sam Toyer 95abf89 
Thomas Waldmann 38248c8 
Sam Toyer 95abf89 
Thomas Waldmann 5568cf1 
Thomas Waldmann 5147595 
Sam Toyer 95abf89 
Thomas Waldmann 5568cf1 
Thomas Waldmann 29b3586 


xiaq 100197c 
Thomas Waldmann 29b3586 

xiaq 100197c 
Thomas Waldmann 29b3586 

Thomas Waldmann 5568cf1 
Thomas Waldmann 5b7e522 
Thomas Waldmann 5568cf1 
Thomas Waldmann 5147595 
Thomas Waldmann 29b3586 

xiaq 100197c 
Thomas Waldmann 29b3586 

xiaq 100197c 
Thomas Waldmann 29b3586 

Thomas Waldmann 5568cf1 
{% import "forms.html" as forms %}
{% extends theme("show.html") %}

{% set title = _("DESTROY COMPLETE ITEM '%(item_name)s'", item_name=item.name) %}

{% block content %}
{% if rev_id == None %}
    <h1>{{ title }}</h1>
    <div class="moin-form">
    {{ gen.form.open(form, method="post", action=url_for('frontend.destroy_item', item_name=item.name)) }}
      {{ forms.render_errors(form) }}
      <dl>
        {{ forms.render(form['comment']) }}
        {{ forms.render_textcha(gen, form) }}
      </dl>
      {{ forms.render(form['submit']) }}
    {{ gen.form.close() }}
    </div>
{% else %}
    <h1>{{ _("DESTROY REVISION '%(item_name)s' (rev %(rev_id)s)", item_name=item.name, rev_id=rev_id) }}</h1>
    <div class="moin-form">
    {{ gen.form.open(form, method="post", action=url_for('frontend.destroy_item', item_name=item.name, rev=rev_id)) }}
      {{ forms.render_errors(form) }}
      <dl>
        {{ forms.render(form['comment']) }}
        {{ forms.render_textcha(gen, form) }}
      </dl>
      {{ forms.render(form['submit']) }}
    {{ gen.form.close() }}
    </div>
{% endif %}
{% endblock %}