Restructuring guarantor display to address Bug 2220 ("Guarantor needs two fields to be labeled"). This change probably means an updated screenshot is necessary.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Owen Leonard 2008-06-17 14:56:08 -05:00 committed by Joshua Ferraro
parent 39576cd44c
commit 64d65d838a

View file

@ -263,9 +263,18 @@
<!-- /TMPL_IF --> <!-- /TMPL_IF -->
</li> </li>
<!--/TMPL_UNLESS--> <!--/TMPL_UNLESS-->
</ol>
</fieldset>
<!--TMPL_IF Name="showguarantor"--><input type="hidden" name="guarantorid" value="<!-- TMPL_VAR NAME="guarantorid" -->" /> <!--TMPL_IF Name="showguarantor"--><input type="hidden" name="guarantorid" value="<!-- TMPL_VAR NAME="guarantorid" -->" />
<li><label for="">Guarantor: </label> <fieldset class="rows">
<!-- TMPL_IF name="relshiploop" --> <legend>Guarantor Information</legend>
<ol>
<li>
<label for="contactname">First Name: </label><input name="contactname" id="contactname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactname" -->" />
</li>
<li><label for="contactfirstname">Last Name: </label><input name="contactfirstname" id="contactfirstname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactfirstname" -->" /></li>
<!-- TMPL_IF name="relshiploop" --><li><label for="relationship">Relationship: </label>
<select name="relationship" id="relationship" > <select name="relationship" id="relationship" >
<!-- TMPL_LOOP name="relshiploop" --> <!-- TMPL_LOOP name="relshiploop" -->
<!-- TMPL_IF name="selected" --> <!-- TMPL_IF name="selected" -->
@ -274,19 +283,17 @@
<option value="<!-- TMPL_VAR name="relationship" -->"><!-- TMPL_VAR name="relationship" --></option> <option value="<!-- TMPL_VAR name="relationship" -->"><!-- TMPL_VAR name="relationship" --></option>
<!-- /TMPL_IF --> <!-- /TMPL_IF -->
<!-- /TMPL_LOOP --> <!-- /TMPL_LOOP -->
</select> </select></li>
<!-- /TMPL_IF --> <!-- /TMPL_IF -->
<input name="contactname" id="contactname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactname" -->" /> <li><span class="label">&nbsp;</span><!-- TMPL_IF NAME="guarantorid"-->
<input name="contactfirstname" id="contactfirstname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactfirstname" -->" /> <input id="guarantorsearch" type="button" value="Change Guarantor" onclick="Dopopguarantor('guarantor_search.pl');" />
<!-- TMPL_IF NAME="guarantorid"-->
<input id="guarantorsearch" type="button" value="Modify Guarantor" onclick="Dopopguarantor('guarantor_search.pl');" />
<!-- TMPL_ELSE --> <!-- TMPL_ELSE -->
<input id="guarantorsearch" type="button" value="Find guarantor" onclick="Dopopguarantor('guarantor_search.pl');" /> <input id="guarantorsearch" type="button" value="Find Guarantor" onclick="Dopopguarantor('guarantor_search.pl');" />
<!-- /TMPL_IF --> <input id="guarantordelete" type="button" value="Delete Guarantor" /> <!-- /TMPL_IF --> <input id="guarantordelete" type="button" value="Delete Guarantor" /></li>
</li> </ol>
<!--/TMPL_IF-->
</ol>
</fieldset> </fieldset>
<!--/TMPL_IF-->
<fieldset class="rows"> <fieldset class="rows">
<legend>Main address</legend><ol> <legend>Main address</legend><ol>
<li> <li>