Mercurial > pub > site.implab
diff shared_view/includes/dojo/group.tt @ 11:573272ec604b
almost comlete doxygen library
author | sergey |
---|---|
date | Thu, 15 May 2014 18:24:02 +0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/shared_view/includes/dojo/group.tt Thu May 15 18:24:02 2014 +0400 @@ -0,0 +1,39 @@ +[% 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') %] \ No newline at end of file