{% extends "newbase.html" %}
{% load staticfiles %}

{% block title %}Planned Session{% endblock %}

{% block main %}
<h1>Confirm Delete</h1>
<p>This will permanently delete the planned session</p>
  
<ul class="main-content">
  <li class="grid_2">
    <p>
      <form action="" method="post">
        {% csrf_token %}
        <p>Are you sure you want to delete <em>{{ object }}</em>?</p>
        <input class="button red" type="submit" value="Confirm">
      </form>
    </p>
  </li>

  {% if not object.is_template %}
  <li class="grid_2">
    <h2>Session {{ psdict.name.1 }}</h2>
    <table class="listtable shortpadded">
      {% for attr in attrs %}
      {% for key,value in psdict.items %}
      {% if key == attr %}
      <tr>
        <td><b>{{ value.0 }}</b></td><td>{{ value.1 }}</td>
      </tr>
      {% endif %}
      {% endfor %}
      {% endfor %}
    </table>
  </li>
  {% endif %}
</ul>
  


{% endblock %}

{% block sidebar %}
{% include 'menu_plan.html' %}
{% endblock %}
