When editing a child or professional patron, display
the drop-down of relationship types only if at least
one relationship type is defined by the borrowerRelationship
syspref.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
<!--/TMPL_UNLESS-->
<!--TMPL_IF Name="showguarantor"--><input type="hidden" name="guarantorid" value="<!-- TMPL_VAR NAME="guarantorid" -->" />
<li><label for="">Guarantor: </label>
+ <!-- TMPL_IF name="relshiploop" -->
<select name="relationship" id="relationship" >
<!-- TMPL_LOOP name="relshiploop" -->
<!-- TMPL_IF name="selected" -->
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
</select>
+ <!-- /TMPL_IF -->
<input name="contactname" id="contactname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactname" -->" />
<input name="contactfirstname" id="contactfirstname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactfirstname" -->" />
<!-- TMPL_IF NAME="guarantorid"-->