|
Lines 457-481
legend:hover {
Link Here
|
| 457 |
<input type="hidden" class="new_guarantor_id" name="new_guarantor_id" value="[% guarantor.borrowernumber | html %]"/> |
457 |
<input type="hidden" class="new_guarantor_id" name="new_guarantor_id" value="[% guarantor.borrowernumber | html %]"/> |
| 458 |
</li> |
458 |
</li> |
| 459 |
|
459 |
|
| 460 |
<li> |
460 |
[% IF possible_relationships %] |
| 461 |
[% UNLESS empty_relationship_allowed %] |
461 |
<li> |
| 462 |
<label for="guarantor_relationship" class="required">Relationship: </label> |
462 |
[% UNLESS empty_relationship_allowed %] |
| 463 |
<select class="new_guarantor_relationship" name="new_guarantor_relationship" required="required"> |
463 |
<label for="guarantor_relationship" class="required">Relationship: </label> |
| 464 |
[% ELSE %] |
464 |
<select class="new_guarantor_relationship" name="new_guarantor_relationship" required="required"> |
| 465 |
<label for="guarantor_relationship">Relationship: </label> |
465 |
[% ELSE %] |
| 466 |
<select class="new_guarantor_relationship" name="new_guarantor_relationship"> |
466 |
<label for="guarantor_relationship">Relationship: </label> |
| 467 |
[% END %] |
467 |
<select class="new_guarantor_relationship" name="new_guarantor_relationship"> |
| 468 |
<option value="" selected>Empty option</option> |
468 |
[% END %] |
| 469 |
[% FOREACH pr IN possible_relationships.split('\|') %] |
469 |
<option value="" selected>Empty option</option> |
| 470 |
[% IF pr != "" %] |
470 |
[% FOREACH pr IN possible_relationships.split('\|') %] |
| 471 |
<option value="[% pr | html %]">[% pr | html %]</option> |
471 |
[% IF pr != "" %] |
|
|
472 |
<option value="[% pr | html %]">[% pr | html %]</option> |
| 473 |
[% END %] |
| 472 |
[% END %] |
474 |
[% END %] |
|
|
475 |
</select> |
| 476 |
[% UNLESS empty_relationship_allowed %] |
| 477 |
<span class="required">Required</span> |
| 473 |
[% END %] |
478 |
[% END %] |
| 474 |
</select> |
479 |
</li> |
| 475 |
[% UNLESS empty_relationship_allowed %] |
480 |
[% ELSE %] |
| 476 |
<span class="required">Required</span> |
481 |
<input type="hidden" name="new_guarantor_relationship" value="" /> |
| 477 |
[% END %] |
482 |
[% END %] |
| 478 |
</li> |
|
|
| 479 |
|
483 |
|
| 480 |
<li> |
484 |
<li> |
| 481 |
<label for="guarantor_cancel"> </label> |
485 |
<label for="guarantor_cancel"> </label> |
|
Lines 497-521
legend:hover {
Link Here
|
| 497 |
<input type="hidden" class="new_guarantor_id" name="new_guarantor_id" value=""/> |
501 |
<input type="hidden" class="new_guarantor_id" name="new_guarantor_id" value=""/> |
| 498 |
</li> |
502 |
</li> |
| 499 |
|
503 |
|
| 500 |
<li> |
504 |
[% IF possible_relationships %] |
| 501 |
[% UNLESS empty_relationship_allowed %] |
505 |
<li> |
| 502 |
<label for="guarantor_relationship" class="required">Relationship: </label> |
506 |
[% UNLESS empty_relationship_allowed %] |
| 503 |
<select class="new_guarantor_relationship" name="new_guarantor_relationship" required="required"> |
507 |
<label for="guarantor_relationship" class="required">Relationship: </label> |
| 504 |
[% ELSE %] |
508 |
<select class="new_guarantor_relationship" name="new_guarantor_relationship" required="required"> |
| 505 |
<label for="guarantor_relationship">Relationship: </label> |
509 |
[% ELSE %] |
| 506 |
<select class="new_guarantor_relationship" name="new_guarantor_relationship"> |
510 |
<label for="guarantor_relationship">Relationship: </label> |
| 507 |
[% END %] |
511 |
<select class="new_guarantor_relationship" name="new_guarantor_relationship"> |
| 508 |
<option value="" selected></option> |
512 |
[% END %] |
| 509 |
[% FOREACH pr IN possible_relationships.split('\|') %] |
513 |
<option value="" selected></option> |
| 510 |
[% IF pr != "" %] |
514 |
[% FOREACH pr IN possible_relationships.split('\|') %] |
| 511 |
<option value="[% pr | html %]">[% pr | html %]</option> |
515 |
[% IF pr != "" %] |
|
|
516 |
<option value="[% pr | html %]">[% pr | html %]</option> |
| 517 |
[% END %] |
| 512 |
[% END %] |
518 |
[% END %] |
|
|
519 |
</select> |
| 520 |
[% UNLESS empty_relationship_allowed %] |
| 521 |
<span class="required">Required</span> |
| 513 |
[% END %] |
522 |
[% END %] |
| 514 |
</select> |
523 |
</li> |
| 515 |
[% UNLESS empty_relationship_allowed %] |
524 |
[% ELSE %] |
| 516 |
<span class="required">Required</span> |
525 |
<input type="hidden" name="new_guarantor_relationship" value="" /> |
| 517 |
[% END %] |
526 |
[% END %] |
| 518 |
</li> |
|
|
| 519 |
|
527 |
|
| 520 |
<li> |
528 |
<li> |
| 521 |
<label for="guarantor_cancel"> </label> |
529 |
<label for="guarantor_cancel"> </label> |
| 522 |
- |
|
|