diff options
author | wreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-05-27 19:16:03 +0000 |
---|---|---|
committer | wreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-05-27 19:16:03 +0000 |
commit | 70737b6e2f378efe76978c214e71463fbcbd2bdc (patch) | |
tree | 31615a208c6e2cd187eb85b1ee512a6af395183c /share/skin/default | |
parent | f38511c5ebf5947ce2a22fe72ec27c16631def86 (diff) | |
download | reaction-70737b6e2f378efe76978c214e71463fbcbd2bdc.tar.gz reaction-70737b6e2f378efe76978c214e71463fbcbd2bdc.zip |
action template
Diffstat (limited to 'share/skin/default')
-rw-r--r-- | share/skin/default/layout/action.tt | 52 |
1 files changed, 2 insertions, 50 deletions
diff --git a/share/skin/default/layout/action.tt b/share/skin/default/layout/action.tt index 67d6c37..ba76fb5 100644 --- a/share/skin/default/layout/action.tt +++ b/share/skin/default/layout/action.tt @@ -1,63 +1,15 @@ -=for layout widget - - <form action="" method="post" enctype="multipart/form-data"> - [% header %] - [% field_list %] - [% buttons %] - [% footer %] - </form> +=extends NEXT =for layout header -<!-- header --> - -=for layout field_list - -<p> [% call_next %] </p> - =for layout field [% call_next %] <br /> =for layout message_layout - <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 /> +[% call_next %] <br /> =for layout footer - <!-- footer --> - =cut |