[Checkins] SVN: megrok.z3cform.layout/trunk/src/megrok/z3cform/layout/views_templates/simpleform.pt Updated the templates for forms with no actions.

Souheil CHELFOUH souheil at chelfouh.com
Mon Oct 5 13:20:46 EDT 2009


Log message for revision 104804:
  Updated the templates for forms with no actions.
  Corrected the indentation of the HTML code.
  

Changed:
  U   megrok.z3cform.layout/trunk/src/megrok/z3cform/layout/views_templates/simpleform.pt

-=-
Modified: megrok.z3cform.layout/trunk/src/megrok/z3cform/layout/views_templates/simpleform.pt
===================================================================
--- megrok.z3cform.layout/trunk/src/megrok/z3cform/layout/views_templates/simpleform.pt	2009-10-05 16:56:37 UTC (rev 104803)
+++ megrok.z3cform.layout/trunk/src/megrok/z3cform/layout/views_templates/simpleform.pt	2009-10-05 17:20:45 UTC (rev 104804)
@@ -73,12 +73,12 @@
       </tal:block>
     </div>
     
-    <div id="actionsView"  tal:condition="view/actions">
+    <div id="actionsView"  tal:condition="view/actions|nothing">
       <span class="actionButtons">
 	<input tal:repeat="action view/actions/values"
 	       tal:replace="structure action/render"
 	       />
       </span>
     </div>
-    </fieldset>
+  </fieldset>
 </form>



More information about the checkins mailing list