Permalink
Browse files

printing the legend of the forms in the templates

  • Loading branch information...
1 parent 1b97846 commit bfa7c1286622eb1916407978d85f6e75d16981d3 @vitorpacheco vitorpacheco committed Jun 4, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Console/Templates/default/views/form.ctp
@@ -19,7 +19,7 @@
<div class="<?php echo $pluralVar;?> form">
<?php echo "<?php echo \$this->Form->create('{$modelClass}');?>\n";?>
<fieldset>
- <legend><?php printf("<?php __('%s %s'); ?>", Inflector::humanize($action), $singularHumanName); ?></legend>
+ <legend><?php printf("<?php echo __('%s %s'); ?>", Inflector::humanize($action), $singularHumanName); ?></legend>
<?php
echo "\t<?php\n";
foreach ($fields as $field) {
@@ -62,4 +62,4 @@
}
?>
</ul>
-</div>
+</div>

0 comments on commit bfa7c12

Please sign in to comment.