changed approach as requested by mdk
[catagits/Reaction.git] / share / skin / base / layout / action.tt
CommitLineData
5a1a893e 1=for layout widget
2
3 <form action="" method="post" enctype="multipart/form-data">
4 [% header %]
6bc27bd3 5 [% field_list %]
5a1a893e 6 [% buttons %]
7 [% footer %]
8 </form>
9
10=for layout header
11
664d660c 12<!-- header -->
5a1a893e 13
6bc27bd3 14=for layout field_list
5a1a893e 15
664d660c 16<p> [% call_next %] </p>
6ab43711 17
18=for layout field
19
664d660c 20[% call_next %] <br />
5a1a893e 21
664d660c 22=for layout message_layout
5a1a893e 23
5a1a893e 24 <span>[% message %]</span> <br />
5a1a893e 25
664d660c 26=for layout buttons
27 [% message %]
28 [% ok_button_fragment %]
29 [% apply_button_fragment %]
30 [% cancel_button_fragment %]
31
f3c72687 32=for layout standard_button
33
34 <input type="submit" class="button" name="[% event_id %]" value="[% label %]" />
35
664d660c 36=for layout ok_button
37
f3c72687 38[% standard_button %]
664d660c 39
40=for layout apply_button
41
f3c72687 42[% standard_button %]
664d660c 43
44=for layout cancel_button
45
f3c72687 46[% standard_button %]
664d660c 47
48=for layout whut
5a1a893e 49
50 [% IF (viewport.ordered_fields.size != 0) && allowed_events.grep('^apply$').size; %]
891c9ccb 51 <input type="submit" name="[% viewport.event_id_for('apply') | html%]" value="[% apply_label %]" />
5a1a893e 52 [% END; %]
53
54 [% IF allowed_events.grep('^close$').size; %]
891c9ccb 55 <input type="submit" name="[% viewport.event_id_for('close') | html%]" value="[% close_label %]" />
5a1a893e 56 [% END; %]
57 <br />
58
59=for layout footer
60
664d660c 61 <!-- footer -->
5a1a893e 62
63=cut