mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Adding non-breaking space to view.ctp. Closes #5377
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7548 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
a8bb2eb826
commit
aeb8a4176f
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ foreach ($scaffoldFields as $_field) {
|
|||
if($_field === $_details['foreignKey']) {
|
||||
$isKey = true;
|
||||
echo "\t\t<dt{$class}>".Inflector::humanize($_alias)."</dt>\n";
|
||||
echo "\t\t<dd{$class}>\n\t\t\t" . $html->link(${$singularVar}[$_alias][$_details['displayField']], array('controller'=> $_details['controller'], 'action'=>'view', ${$singularVar}[$_alias][$_details['primaryKey']])) . "\n\t\t</dd>\n";
|
||||
echo "\t\t<dd{$class}>\n\t\t\t" . $html->link(${$singularVar}[$_alias][$_details['displayField']], array('controller'=> $_details['controller'], 'action'=>'view', ${$singularVar}[$_alias][$_details['primaryKey']])) . "\n\t\t </dd>\n";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue