annotate shared_view/includes/form/group.tt @ 12:d9551c7e7101

improved dox library
author sergey
date Fri, 16 May 2014 16:47:50 +0400
parents 573272ec604b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
1 [%
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
2 META class='form'
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
3 %]
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
4 [% MACRO element(control) BLOCK;
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
5 ers = errors(control).join(', ');
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
6 %]
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
7 <div class='input-control'>
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
8 <div class='control-label'>
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
9 [% label(control) %][% IF ers %] <span class="control-errors">$ers</span>[% END %]
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
10 </div>
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
11 <div class='control-content'>
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
12 [% display_for(control) %]
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
13 </div>
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
14 </div>
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
15 [% END %]
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
16
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
17 [% element(child.name) FOREACH child IN children %]
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
18 <div class="form-footer">
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
19 [% render('dojo/form/Button', button) FOREACH button IN buttons %]
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
20 </div>