Mercurial > pub > site.implab
view shared_view/includes/dojo/group.tt @ 16:e69c970c3ddd default tip
sync
author | sergey |
---|---|
date | Tue, 20 May 2014 01:28:48 +0400 |
parents | 573272ec604b |
children |
line wrap: on
line source
[% META class='IMPL::Web::View::TTFormContainer' %] [% BLOCK ITEM %] <div id="$control.id" class="input-control"> <div class="control-label"> [% this.Include('ITEM_LABEL') %] [% this.Include('ITEM_ERRORS') %] </div> <div class="control-content"> $control.Render </div> </div> [% END %] [% BLOCK ITEM_ERRORS %] <span class="control-errors">[% control.errors.join(', ') %]</span> [% END %] [% BLOCK ITEM_LABEL %] [% control.GetSchemaProp('display') %] [% END %] [% BLOCK ERRORS %] <span class="control-errors">[% this.GetOwnErrors().join(', ') %]</span> [% END %] [% BLOCK LAYOUT %] <div id="$this.id" class="group-control"> [% this.Include('ERRORS') %] <div class="control-label"> [% this.GetSchemaProp('display') %] </div> <div class="control-content"> [% this.Include('CONTENT') %] <br style="clear: both;" /> </div> </div> [% END %] [% BLOCK CONTENT; FOREACH ctl IN this.GetChildControls(); this.Include('ITEM', control = ctl); END; END %] [% this.Include('LAYOUT') %]