Revision 29b87e7c snf-astakos-app/astakos/im/templates/im/astakosgroup_form_summary.html
b/snf-astakos-app/astakos/im/templates/im/astakosgroup_form_summary.html | ||
---|---|---|
4 | 4 |
|
5 | 5 |
{% block page.body %} |
6 | 6 |
|
7 |
<!--{{ data }}-->
|
|
7 |
{% with form.data as data %}
|
|
8 | 8 |
<div class="projects summary"> |
9 | 9 |
<h2>CONFIRM YOUR REQUEST</h2> |
10 | 10 |
<p>Lorem ipsum</p> |
11 |
<form action="{% url group_add_complete %}" class="quotas-form"> |
|
11 |
<form action="{% url group_add_complete %}" method="post" class="quotas-form">{% csrf_token %} |
|
12 |
<!-- |
|
12 | 13 |
{% for k,v in data.iteritems %} |
13 | 14 |
<input type="hidden" name="{{ k }}" value="{{ v }}"> |
14 | 15 |
{% endfor %} |
16 |
--> |
|
17 |
{% include "im/form_render.html" %} |
|
18 |
|
|
15 | 19 |
<div class="full-dotted"> |
16 | 20 |
<h3>DETAILS:</h3> |
17 |
<dl class="alt-style"> |
|
18 |
<dt>Name</dt>
|
|
21 |
<dl class="alt-style">
|
|
22 |
<dt>Name</dt>
|
|
19 | 23 |
<dd>{{ data.name|strip_http }} </dd> |
20 | 24 |
<dt>Homepage Url</dt> |
21 | 25 |
<dd>{{ data.homepage }} </dd> |
... | ... | |
35 | 39 |
</div> |
36 | 40 |
<div class="full-dotted"> |
37 | 41 |
<h3>RESOURCES:</h3> |
38 |
<dl class="alt-style"> |
|
39 |
|
|
40 |
{% for r in data.policies %} |
|
42 |
<dl class="alt-style"> |
|
43 |
{% for r in policies %} |
|
41 | 44 |
{% with r.service|add:'.'|add:r.resource as t %} |
42 | 45 |
{% with resource_catalog|lookup:'resources' as resources %} |
43 | 46 |
{% with resources|lookup:t as info %} |
... | ... | |
80 | 83 |
</form> |
81 | 84 |
|
82 | 85 |
</div> |
86 |
{% endwith %} |
|
83 | 87 |
|
84 | 88 |
{% endblock %} |
Also available in: Unified diff