Author: jablko
Date: Thu Oct 7 17:11:44 2010
New Revision: 8022
Log:
Render labels with symfony form
Modified:
trunk/apps/qubit/modules/informationobject/templates/_eventForm.php
Modified: trunk/apps/qubit/modules/informationobject/templates/_eventForm.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/_eventForm.php Thu Oct
7 17:03:12 2010 (r8021)
+++ trunk/apps/qubit/modules/informationobject/templates/_eventForm.php Thu Oct
7 17:11:44 2010 (r8022)
@@ -96,7 +96,9 @@
</caption><tbody>
<tr>
<th colspan="3" style="width: 55%">
- <?php echo __('Actor name') ?>
+ <?php echo $form->actor
+ ->label(__('Actor name'))
+ ->renderLabel() ?>
</th>
</tr><tr>
<td colspan="3" class="noline">
@@ -113,7 +115,9 @@
</td>
</tr><tr>
<th colspan="2" style="width: 55%">
- <?php echo __('Event type') ?>
+ <?php echo $form->type
+ ->label(__('Event type'))
+ ->renderLabel() ?>
</th><th style="width: 40%">
<?php echo __('Place') ?>
</th>
--
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.