ACC SHELL

Path : /var/lib/named/proc/self/root/srv/www/vhosts/calyx/old/qad/app/templates/components/
File Upload :
Current File : //var/lib/named/proc/self/root/srv/www/vhosts/calyx/old/qad/app/templates/components/form.latte

{form $form}
<ul class=error n:if="$form->errors">
	<li n:foreach="$form->errors as $error">{$error}</li>
</ul>

<table>
<tr n:foreach="$form->controls as $input" n:class="$input->required ? required">
	<th>{if $input->controlPrototype->type !== checkbox}{label $input /}{/if}</th>
	<td>{input $input} {if $input->controlPrototype->type === checkbox}{label $input /}{/if}
		<span class=error n:if="$input->errors">{$input->errors|implode:' '}</span>
	</td>
</tr>
</table>
{/form}

ACC SHELL 2018