Skip to content
This repository
Browse code

removing extra space in default bake template

  • Loading branch information...
commit 60db93a9149e9611f82e3812efd76a4519ec44b9 1 parent 0f341c7
Rachman Chavik authored March 16, 2011
2  cake/console/templates/default/views/form.ctp
@@ -20,7 +20,7 @@
20 20
 <div class="<?php echo $pluralVar;?> form">
21 21
 <?php echo "<?php echo \$this->Form->create('{$modelClass}');?>\n";?>
22 22
 	<fieldset>
23  
- 		<legend><?php printf("<?php __('%s %s'); ?>", Inflector::humanize($action), $singularHumanName); ?></legend>
  23
+		<legend><?php printf("<?php __('%s %s'); ?>", Inflector::humanize($action), $singularHumanName); ?></legend>
24 24
 <?php
25 25
 		echo "\t<?php\n";
26 26
 		foreach ($fields as $field) {
4  cake/console/templates/default/views/index.ctp
@@ -54,8 +54,8 @@
54 54
 
55 55
 		echo "\t\t<td class=\"actions\">\n";
56 56
 		echo "\t\t\t<?php echo \$this->Html->link(__('View', true), array('action' => 'view', \${$singularVar}['{$modelClass}']['{$primaryKey}'])); ?>\n";
57  
-	 	echo "\t\t\t<?php echo \$this->Html->link(__('Edit', true), array('action' => 'edit', \${$singularVar}['{$modelClass}']['{$primaryKey}'])); ?>\n";
58  
-	 	echo "\t\t\t<?php echo \$this->Html->link(__('Delete', true), array('action' => 'delete', \${$singularVar}['{$modelClass}']['{$primaryKey}']), null, sprintf(__('Are you sure you want to delete # %s?', true), \${$singularVar}['{$modelClass}']['{$primaryKey}'])); ?>\n";
  57
+		echo "\t\t\t<?php echo \$this->Html->link(__('Edit', true), array('action' => 'edit', \${$singularVar}['{$modelClass}']['{$primaryKey}'])); ?>\n";
  58
+		echo "\t\t\t<?php echo \$this->Html->link(__('Delete', true), array('action' => 'delete', \${$singularVar}['{$modelClass}']['{$primaryKey}']), null, sprintf(__('Are you sure you want to delete # %s?', true), \${$singularVar}['{$modelClass}']['{$primaryKey}'])); ?>\n";
59 59
 		echo "\t\t</td>\n";
60 60
 	echo "\t</tr>\n";
61 61
 

0 notes on commit 60db93a

Please sign in to comment.
Something went wrong with that request. Please try again.