Author: jablko
Date: Tue Oct 19 17:18:51 2010
New Revision: 8323

Log:
Use ->generateName()

Modified:
   trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php

Modified: trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php
==============================================================================
--- trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php        
Tue Oct 19 17:13:40 2010        (r8322)
+++ trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php        
Tue Oct 19 17:18:51 2010        (r8323)
@@ -26,7 +26,7 @@
         <tr class="related_obj_<?php echo $item->id ?>">
           <td>
             <div class="animateNicely">
-              <input type="hidden" name="editEvents[<?php echo $i ?>][id]" 
value="<?php echo $item->id ?>"/>
+              <input name="<?php $form->getWidgetSchema()->generateName('id') 
?>" type="hidden" value="<?php echo $item->id ?>"/>
               <?php echo $form->getWidgetSchema()->renderField('type', 
$item->type) ?>
             </div>
           </td><td>
@@ -43,7 +43,7 @@
             </div>
           </td><td style="text-align: right">
             <div class="animateNicely">
-              <input type="checkbox" name="deleteEvents[<?php echo $item->id 
?>]" value="delete" class="multiDelete"/>
+              <input class="multiDelete" name="deleteEvents[<?php echo 
$item->id ?>]" type="checkbox" value="delete"/>
             </div>
           </td>
         </tr>

-- 
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