Commit 90094082 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(core) Small fixes for public form support

issue #5854
Showing with 6 additions and 0 deletions
+6 -0
......@@ -27,6 +27,7 @@ div#window-container {
div#window-div {
min-width: 50%;
margin-top: 100px;
margin-bottom: 30px;
border: 1px solid @border-color-1;
background-color: @background-second-color;
display: inline-block;
......
......@@ -25,6 +25,7 @@ div#window-container {
div#window-div {
min-width: 50%;
margin-top: 100px;
margin-bottom: 30px;
border: 1px solid #c0c2c3;
background-color: #f3f4f4;
display: inline-block;
......
......@@ -96,6 +96,10 @@ class template
$this->attributes[$class][] = $attr;
}
}
if (empty($this->attributes[$class]) && $tab->ignore_account) {
// Do not show empty sections for tabs which are not explicitely enabled
unset($this->attributes[$class]);
}
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment