Author: ornicar2
Date: 2010-02-11 23:18:38 +0100 (Thu, 11 Feb 2010)
New Revision: 27930
Modified:
plugins/diemPlugin/trunk/dmAdminPlugin/data/generator/dmAdminDoctrineModule/dmAdmin/template/templates/_form_field.php
Log:
[Diem]
- fixed var name in admin form templates
Modified:
plugins/diemPlugin/trunk/dmAdminPlugin/data/generator/dmAdminDoctrineModule/dmAdmin/template/templates/_form_field.php
===================================================================
---
plugins/diemPlugin/trunk/dmAdminPlugin/data/generator/dmAdminDoctrineModule/dmAdmin/template/templates/_form_field.php
2010-02-11 22:01:35 UTC (rev 27929)
+++
plugins/diemPlugin/trunk/dmAdminPlugin/data/generator/dmAdminDoctrineModule/dmAdmin/template/templates/_form_field.php
2010-02-11 22:18:38 UTC (rev 27930)
@@ -8,7 +8,7 @@
));
?]
[?php if ($field->isPartial()): ?]
- <div class="[?php echo $divClass ?]">[?php include_partial('<?php echo
$this->getModuleName() ?>/'.$name, array('<?php echo $this->getModuleName() ?>'
=> $form->getObject(), 'form' => $form, 'attributes' => $attributes instanceof
sfOutputEscaper ? $attributes->getRawValue() : $attributes)) ?]</div>
+ <div class="[?php echo $divClass ?]">[?php include_partial('<?php echo
$this->getModuleName() ?>/'.$name, array('<?php echo
$this->getModule()->getKey() ?>' => $form->getObject(), 'form' => $form,
'attributes' => $attributes instanceof sfOutputEscaper ?
$attributes->getRawValue() : $attributes)) ?]</div>
[?php elseif ($field->isComponent()): ?]
<div class="[?php echo $divClass ?]">[?php include_component('<?php echo
$this->getModuleName() ?>', $name, array('<?php echo $this->getModuleName() ?>'
=> $form->getObject(), 'form' => $form, 'attributes' => $attributes instanceof
sfOutputEscaper ? $attributes->getRawValue() : $attributes)) ?]</div>
[?php elseif ($field->getConfig('markdown')): ?]
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" 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/symfony-svn?hl=en.