Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove semicolons from short echos in bake templates
  • Loading branch information
bcrowe committed Oct 7, 2014
1 parent 8e2bfb7 commit b80d4fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Template/Bake/default/views/form.ctp
Expand Up @@ -43,7 +43,7 @@ $fields = collection($fields)
<div class="<?= $pluralVar ?> form large-10 medium-9 columns">
<?= "<?= \$this->Form->create(\${$singularVar}) ?>\n" ?>
<fieldset>
<legend><?= sprintf("<?= __('%s %s'); ?>", Inflector::humanize($action), $singularHumanName) ?></legend>
<legend><?= sprintf("<?= __('%s %s') ?>", Inflector::humanize($action), $singularHumanName) ?></legend>
<?php
echo "\t<?php\n";
foreach ($fields as $field) {
Expand Down
2 changes: 1 addition & 1 deletion src/Template/Bake/default/views/view.ctp
Expand Up @@ -51,7 +51,7 @@ $groupedFields = collection($fields)
$groupedFields += ['number' => [], 'string' => [], 'boolean' => [], 'date' => [], 'text' => []];
?>
<div class="actions columns large-2 medium-3">
<h3><?= "<?= __('Actions'); ?>"; ?></h3>
<h3><?= "<?= __('Actions') ?>" ?></h3>
<ul class="side-nav">
<?php
$pk = "\${$singularVar}->{$primaryKey[0]}";
Expand Down

0 comments on commit b80d4fb

Please sign in to comment.