aboutsummaryrefslogtreecommitdiffstats
path: root/share/skin/base/layout/action.tt
diff options
context:
space:
mode:
Diffstat (limited to 'share/skin/base/layout/action.tt')
-rw-r--r--share/skin/base/layout/action.tt56
1 files changed, 56 insertions, 0 deletions
diff --git a/share/skin/base/layout/action.tt b/share/skin/base/layout/action.tt
new file mode 100644
index 0000000..1db6e35
--- /dev/null
+++ b/share/skin/base/layout/action.tt
@@ -0,0 +1,56 @@
+=for layout widget
+
+<div id="action_form">
+ <form action="" method="post" enctype="multipart/form-data">
+ [% header %]
+ [% field_list %]
+ [% buttons %]
+ [% footer %]
+ </form>
+</div>
+
+=for layout header
+
+=for layout field_list
+
+<div id="action_field_list">
+ [% call_next %]
+</div>
+
+=for layout field
+
+<span class="action_field">
+ [% call_next %]
+</span>
+
+=for layout message_layout
+
+<span class="action_message">[% message %]</span>
+
+=for layout buttons
+ [% message %]
+ [% ok_button_fragment %]
+ [% apply_button_fragment %]
+ [% cancel_button_fragment %]
+
+=for layout standard_button
+
+<span class="action_button">
+ <input type="submit" class="button" name="[% event_id %]" value="[% label %]" />
+</span>
+
+=for layout ok_button
+
+[% standard_button %]
+
+=for layout apply_button
+
+[% standard_button %]
+
+=for layout cancel_button
+
+[% standard_button %]
+
+=for layout footer
+
+=cut