fixes for base collection widget+template
[catagits/Reaction.git] / share / skin / base / layout / action.tt
index 33829b9..b5cb708 100644 (file)
@@ -1,9 +1,9 @@
 =for layout widget
 
-<div id="action_form">
-  <form action="" method="[% method %]" enctype="multipart/form-data">
+<div class="action_form">
+  <form action="[% action %]" id="[% form_id %]" method="[% method %]" enctype="multipart/form-data">
     [% header  %]
-    [% field_list  %]
+    [% container_list %]
     [% buttons %]
     [% footer  %]
   </form>
 
 =for layout header
 
-=for layout field_list
+[% error_message %]
 
-<div id="action_field_list">
-  [% call_next %]
-</div>
+=for layout container_list
 
-=for layout field
+[% call_next %]
 
-<span class="action_field">
-  [% call_next %]
-</span>
+=for layout container
+
+[% call_next %]
 
 =for layout buttons
   [% message %]
 
 =for layout message_layout
 
-<span class="action_message">[% as_string %]</span>
+<span class="action_message">[% message_string %]</span>
+
+=for layout error_message_layout
+
+<span class="action_error_message">[% message_string %]</span>
 
 =for layout standard_button