view shared_view/includes/form/group.tt @ 13:a9ce584a7f3b

test for mercurial repositories
author sergey
date Mon, 19 May 2014 04:34:28 +0400
parents 573272ec604b
children
line wrap: on
line source

[%
	META class='form'
%]
[% MACRO element(control) BLOCK;
	ers = errors(control).join(', ');
%]
<div class='input-control'>
	<div class='control-label'>
		[% label(control) %][% IF ers %] <span class="control-errors">$ers</span>[% END %]
	</div>
	<div class='control-content'>
		[% display_for(control) %]
	</div>
</div>
[% END %]

[% element(child.name) FOREACH child IN children %]
<div class="form-footer">
	[% render('dojo/form/Button', button) FOREACH button IN buttons %]
</div>