aboutsummaryrefslogtreecommitdiffstats
path: root/share/skin/default/layout/action.tt
diff options
context:
space:
mode:
Diffstat (limited to 'share/skin/default/layout/action.tt')
-rw-r--r--share/skin/default/layout/action.tt58
1 files changed, 55 insertions, 3 deletions
diff --git a/share/skin/default/layout/action.tt b/share/skin/default/layout/action.tt
index d2d7617..67d6c37 100644
--- a/share/skin/default/layout/action.tt
+++ b/share/skin/default/layout/action.tt
@@ -1,11 +1,63 @@
-=extends NEXT
+=for layout widget
+
+ <form action="" method="post" enctype="multipart/form-data">
+ [% header %]
+ [% field_list %]
+ [% buttons %]
+ [% footer %]
+ </form>
+
+=for layout header
+
+<!-- header -->
+
+=for layout field_list
+
+<p> [% call_next %] </p>
=for layout field
-[% call_next %]
+[% call_next %] <br />
=for layout message_layout
- <span>[% message %]</span>
+ <span>[% message %]</span> <br />
+
+=for layout buttons
+ [% message %]
+ [% ok_button_fragment %]
+ [% apply_button_fragment %]
+ [% cancel_button_fragment %]
+
+=for layout standard_button
+
+ <input type="submit" class="button" name="[% event_id %]" value="[% label %]" />
+
+=for layout ok_button
+
+[% standard_button %]
+
+=for layout apply_button
+
+[% standard_button %]
+
+=for layout cancel_button
+
+[% standard_button %]
+
+=for layout whut
+
+ [% IF (viewport.ordered_fields.size != 0) && allowed_events.grep('^apply$').size; %]
+ <input type="submit" name="[% viewport.event_id_for('apply') | html%]" value="[% apply_label %]" />
+ [% END; %]
+
+ [% IF allowed_events.grep('^close$').size; %]
+ <input type="submit" name="[% viewport.event_id_for('close') | html%]" value="[% close_label %]" />
+ [% END; %]
+ <br />
+
+=for layout footer
+
+ <!-- footer -->
=cut