diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css
index 3291c7c793..34a5442bff 100644
--- a/app/Resources/public/css/base.css
+++ b/app/Resources/public/css/base.css
@@ -6428,4 +6428,11 @@ ul#toolnavbox-two li a.btn{
input.form-control[type="color"] {
padding: 2px;
}
-
+.form-separator {
+ font-weight: bold;
+ border-bottom: 2px solid #CCC;
+ padding-bottom: 12px;
+ color: #666;
+ margin-bottom: 20px;
+ margin-top: 20px;
+}
diff --git a/main/inc/lib/extra_field.lib.php b/main/inc/lib/extra_field.lib.php
index 26b30b54c9..31503bf60a 100755
--- a/main/inc/lib/extra_field.lib.php
+++ b/main/inc/lib/extra_field.lib.php
@@ -1262,11 +1262,15 @@ class ExtraField extends Model
}
break;
case ExtraField::FIELD_TYPE_DIVIDER:
- $form->addElement(
- 'static',
- $field_details['variable'],
- '
'.$field_details['display_text'].''
- );
+ $form->addHtml('
+