diff --git a/templates/element/genericElements/SingleViews/single_view.php b/templates/element/genericElements/SingleViews/single_view.php index dcc7388..b4cd786 100644 --- a/templates/element/genericElements/SingleViews/single_view.php +++ b/templates/element/genericElements/SingleViews/single_view.php @@ -51,7 +51,7 @@ ]; foreach($data['metaTemplates'] as $metaTemplate) { $tabData['navs'][] = $metaTemplate->namespace; - $fieldsHtml = ''; + $fieldsHtml = '
'; foreach ($metaTemplate->meta_template_fields as $metaTemplateField) { $metaField = $metaTemplateField->meta_fields[0]; $fieldsHtml .= sprintf( @@ -93,7 +93,7 @@ __('{0} view', \Cake\Utility\Inflector::singularize(\Cake\Utility\Inflector::humanize($this->request->getParam('controller')))) : $title; echo sprintf( - '

%s

%s%s
%s
%s
%s
', + '

%s

%s%s
%s
%s
%s
', h($title), empty($description) ? '' : sprintf('

%s

', h($description)), empty($description_html) ? '' : sprintf('

%s

', $description_html),