{form name='QuickSearchForm'} {foreach from=$questionList item=question key=key} {if $question->name == 'match_sex' } {if !empty($form->displayAccountType) }
{label name=$question->name} {input name=$question->name}
{/if} {else if $question->name == 'sex'} {if !empty($form->displayAccountType) }
{label name=$question->name} {input name=$question->name}
{/if} {else if $question->name == 'birthdate'}
{input name='birthdate'}
{error name='birthdate'}
{else if $question->name == 'googlemap_location'}
{input name='googlemap_location'} {error name='googlemap_location'}
{else}
{label name=$question->name}{if $question->presentation == "checkbox"}{/if} {input name=$question->name}
{/if} {/foreach}
{if $form->getElement('online') }
{input name='online'} {label name='online'}
{/if} {if $form->getElement('with_photo') }
{input name='with_photo'} {label name='with_photo'}
{/if}
{submit name='search'} {text key='usearch+advanced_search'}
{/form}