aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/waste/summary_request.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/waste/summary_request.html')
-rw-r--r--templates/web/base/waste/summary_request.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/web/base/waste/summary_request.html b/templates/web/base/waste/summary_request.html
new file mode 100644
index 000000000..83c4091aa
--- /dev/null
+++ b/templates/web/base/waste/summary_request.html
@@ -0,0 +1,20 @@
+[%
+title = 'Submit container request';
+thing = 'container request';
+summary_title = 'Container requests';
+step1 = 'request';
+%]
+
+[% BLOCK answers %]
+ [% FOR container IN data.keys.grep('^container-') %]
+ [% NEXT UNLESS data.$container %]
+ [% SET container_id = container.replace('container-', '') %]
+ [% SET quantity_key = container.replace('container-', 'quantity-') %]
+ <div class="govuk-summary-list__row">
+ <dt class="govuk-summary-list__key govuk-summary-list__key--sub">[% containers.$container_id %]</dt>
+ <dd class="govuk-summary-list__value">[% data.$quantity_key %]</dd>
+ </div>
+ [% END %]
+[% END %]
+
+[% PROCESS waste/summary.html %]