node-flush.html 1007 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
{% extends "dashboard/base.html" %}
{% load i18n %}

{% block content %}
  <div class="body-content">
    <div class="panel panel-default">
      <div class="panel-heading">
        <h3 class="no-margin">
          {% if title %}
            {{ title }}
          {% else %}
            Flush confirmation
          {% endif %}  
        </h3>
      </div>
      <div class="panel-body">
          {% if text %}
            {{ text }}
          {% else %}
            {%blocktrans with object=object%}
              Are you sure you want to flush <strong>{{ object }}</strong>?
            {%endblocktrans%}
          {% endif %}
        <div class="pull-right">
          <form action="" method="POST">
            {% csrf_token %}
	    <a class="btn btn-default">{% trans "Back" %}</a>
            <input type="hidden" name="next" value="{{ request.GET.next }}"/>
	    <button class="btn btn-warning">{% trans "Yes, flush" %}</button>
          </form>
        </div>
      </div>
  </div>
{% endblock %}