{form name='QuickSearchForm'} {foreach from=$questionList item=question} {if $question->name == 'match_sex' } {if !empty($form->displayAccountType) }
{label name=$question->name}
{input name=$question->name}
{error name=$question->name}
{/if} {else if $question->name == 'sex'} {if !empty($form->displayAccountType) }
{label name=$question->name}
{input name=$question->name}
{error name=$question->name}
{/if} {else if $question->name == 'birthdate'}
{label name=$question->name}
{input name=$question->name}
{error name=$question->name}
{else} {if in_array( $question->presentation, array('text') ) }
{input name=$question->name}
{error name=$question->name}
{else}
name])}style="display:none;"{/if}>
{label name=$question->name}
{input name=$question->name}
{error name=$question->name}
{/if} {/if} {/foreach} {if $form->getElement('online') }
{label name='online'}
{input name='online'}
{error name='online'}
{/if} {if $form->getElement('with_photo') }
{label name='with_photo'}
{input name='with_photo'}
{error name='with_photo'}
{/if}
{submit name='search'}
{/form}