Mercurial > pub > site.implab
view shared_view/includes/dojo/group.tt @ 12:d9551c7e7101
improved dox library
author | sergey |
---|---|
date | Fri, 16 May 2014 16:47:50 +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') %]