Lines 112-117
Link Here
|
112 |
<input type="hidden" name="method" value="create" /> |
112 |
<input type="hidden" name="method" value="create" /> |
113 |
<input type="hidden" name="stage" value="form" /> |
113 |
<input type="hidden" name="stage" value="form" /> |
114 |
<input type="hidden" name="backend" value="Standard" /> |
114 |
<input type="hidden" name="backend" value="Standard" /> |
|
|
115 |
<input type="hidden" name="op" value="cud-create" /> |
115 |
</form> |
116 |
</form> |
116 |
[% BLOCK backend_jsinclude %] |
117 |
[% BLOCK backend_jsinclude %] |
117 |
<script> |
118 |
<script> |
Lines 168-173
Link Here
|
168 |
<!-- We need to clarify the borrower that has been requested. --> |
169 |
<!-- We need to clarify the borrower that has been requested. --> |
169 |
<h2>Borrower selection</h2> |
170 |
<h2>Borrower selection</h2> |
170 |
<form method="POST" action=""> |
171 |
<form method="POST" action=""> |
|
|
172 |
[% INCLUDE 'csrf-token.inc' %] |
171 |
[% FOREACH prop IN whole.value.other.keys %] |
173 |
[% FOREACH prop IN whole.value.other.keys %] |
172 |
[% IF prop != 'custom_key' && prop != 'custom_value' && prop != 'cardnumber' %] |
174 |
[% IF prop != 'custom_key' && prop != 'custom_value' && prop != 'cardnumber' %] |
173 |
<input type="hidden" name="[% prop | html %]" value="[% whole.value.other.$prop | html %]" /> |
175 |
<input type="hidden" name="[% prop | html %]" value="[% whole.value.other.$prop | html %]" /> |
Lines 203-208
Link Here
|
203 |
<input type="submit" value="Select" /> |
205 |
<input type="submit" value="Select" /> |
204 |
<a class="cancel" href="[% parent | url %]">Cancel</a> |
206 |
<a class="cancel" href="[% parent | url %]">Cancel</a> |
205 |
</fieldset> |
207 |
</fieldset> |
|
|
208 |
<input type="hidden" name="op" value="cud-choose-borrower" /> |
206 |
</form> |
209 |
</form> |
207 |
[% ELSE %] |
210 |
[% ELSE %] |
208 |
<p>Unknown stage. This should not have happened. </p> |
211 |
<p>Unknown stage. This should not have happened. </p> |