Permalink
Browse files

Also skip hidden in view

  • Loading branch information...
flack committed Dec 16, 2017
1 parent 63154b1 commit 31784d3d041a9f40e5abd863649ad5b199607f18
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/midcom/datamanager/template/view.php
@@ -49,6 +49,11 @@ public function form_rows(FormView $view, array $data)
{
$string = '';
foreach ($view as $child) {
if (!empty($child->vars['hidden'])) {
$child->setRendered();
continue;
}
if ( array_key_exists('start_fieldset', $child->vars)
&& $child->vars['start_fieldset'] !== null) {
$string .= '<div class="fieldset">';

0 comments on commit 31784d3

Please sign in to comment.