plannedsession_delete_view line 470
This commit is contained in:
@@ -1,45 +1,43 @@
|
||||
{% extends "base.html" %}
|
||||
{% extends "newbase.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block title %}Planned Session{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="grid_12 alpha">
|
||||
{% include "planningbuttons.html" %}
|
||||
|
||||
</div>
|
||||
<div id="left" class="grid_6 alpha">
|
||||
<h1>Confirm Delete</h1>
|
||||
<p>This will permanently delete the planned session</p>
|
||||
{% block main %}
|
||||
<h1>Confirm Delete</h1>
|
||||
<p>This will permanently delete the planned session</p>
|
||||
|
||||
|
||||
<div class="grid_2 alpha">
|
||||
<ul class="main-content">
|
||||
<li class="grid_2">
|
||||
<p>
|
||||
<a class="button green small" href="/rowers/sessions/">Cancel</a>
|
||||
</div>
|
||||
|
||||
<div class="grid_2">
|
||||
<p>
|
||||
<a class="button red small" href="/rowers/sessions/{{ ps.id }}/delete">Delete</a>
|
||||
<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>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
</div>
|
||||
<div id="right" class="grid_6 omega">
|
||||
<h1>Session {{ psdict.name.1 }}</h1>
|
||||
<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>
|
||||
</div>
|
||||
<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>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
{% include 'menu_plan.html' %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user