Author: david
Date: Thu Dec  3 10:48:52 2009
New Revision: 4050

Log:
Cosmetic changes.

Modified:
   trunk/apps/qubit/modules/function/templates/editSuccess.php

Modified: trunk/apps/qubit/modules/function/templates/editSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/function/templates/editSuccess.php Thu Dec  3 
10:41:49 2009        (r4049)
+++ trunk/apps/qubit/modules/function/templates/editSuccess.php Thu Dec  3 
10:48:52 2009        (r4050)
@@ -12,9 +12,9 @@
 </div>
 
 <?php if (isset($sf_request->id)): ?>
-  <?php echo $form->renderFormTag(url_for(array('module' => 'function', 
'action' => 'edit', 'id' => $sf_request->id)), array('id' => 'editForm')) ?>
+<form method="POST" action="<?php echo url_for(array('module' => 'function', 
'action' => 'edit', 'id' => $sf_request->id)) ?>" id="editForm">
 <?php else: ?>
-  <?php echo $form->renderFormTag(url_for(array('module' => 'function', 
'action' => 'create')), array('id' => 'editForm')) ?>
+<form method="POST" action="<?php echo url_for(array('module' => 'function', 
'action' => 'create')) ?>" id="editForm">
 <?php endif; ?>
 
   <?php echo $form->renderHiddenFields() ?>
@@ -193,13 +193,13 @@
   </fieldset>
 
   <ul class="actions">
-    <?php if (isset($sf_request->id)): ?>
-        <li><?php echo link_to(__('Cancel'), array('module' => 'function', 
'action' => 'show', 'id' => $func->id)) ?></li>
-      <li><?php echo submit_tag(__('Save')) ?></li>
-    <?php else: ?>
-      <li><?php echo link_to(__('Cancel'), array('module' => 'function', 
'action' => 'list')) ?></li>
-      <li><?php echo submit_tag(__('Create')) ?></li>
-    <?php endif; ?>
+  <?php if (isset($sf_request->id)): ?>
+    <li><?php echo link_to(__('Cancel'), array('module' => 'function', 
'action' => 'show', 'id' => $func->id)) ?></li>
+    <li><?php echo submit_tag(__('Save')) ?></li>
+  <?php else: ?>
+    <li><?php echo link_to(__('Cancel'), array('module' => 'function', 
'action' => 'list')) ?></li>
+    <li><?php echo submit_tag(__('Create')) ?></li>
+  <?php endif; ?>
   </ul>
 
-</form>
+</form>
\ No newline at end of file

--

You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.


Reply via email to