2012-05-30 06:19:43 +05:30
|
|
|
{% extends "view_page_detail.html" %}
|
|
|
|
{% load my_tags %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<div class="content" id="IndividualDetail">
|
|
|
|
|
|
|
|
{% include "detail_breadcrumb.html" %}
|
2012-05-30 18:24:06 +05:30
|
|
|
<h2>Temporary Reference Detail</h2>
|
2012-05-30 06:19:43 +05:30
|
|
|
<div id="summaryarea">
|
|
|
|
<table class="infolist" style="width:90%;">
|
|
|
|
<trbody>
|
|
|
|
{% if form.errors %}
|
|
|
|
<hr>
|
|
|
|
<p id="error">The following fields have errors. Please correct and try again.</p>
|
|
|
|
<div id="error">{{form.errors}}</div>
|
|
|
|
<hr>
|
|
|
|
{% endif %}
|
|
|
|
<form method="post">{% csrf_token %}
|
|
|
|
|
|
|
|
{% for field in form %}
|
|
|
|
<tr>
|
|
|
|
{{field}}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
2012-05-30 21:24:51 +05:30
|
|
|
{% if user.is_superuser %}
|
|
|
|
{% make_button "Go to reference" url %}
|
|
|
|
{% endif %}
|
2012-05-30 06:19:43 +05:30
|
|
|
{% endblock %}
|
|
|
|
|