Mercurial > pub > site.implab
comparison shared_view/includes/form/group.tt @ 11:573272ec604b
almost comlete doxygen library
author | sergey |
---|---|
date | Thu, 15 May 2014 18:24:02 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
10:83ad674a8cdd | 11:573272ec604b |
---|---|
1 [% | |
2 META class='form' | |
3 %] | |
4 [% MACRO element(control) BLOCK; | |
5 ers = errors(control).join(', '); | |
6 %] | |
7 <div class='input-control'> | |
8 <div class='control-label'> | |
9 [% label(control) %][% IF ers %] <span class="control-errors">$ers</span>[% END %] | |
10 </div> | |
11 <div class='control-content'> | |
12 [% display_for(control) %] | |
13 </div> | |
14 </div> | |
15 [% END %] | |
16 | |
17 [% element(child.name) FOREACH child IN children %] | |
18 <div class="form-footer"> | |
19 [% render('dojo/form/Button', button) FOREACH button IN buttons %] | |
20 </div> |