diff --git a/dmp-frontend/src/app/entities/model/section.ts b/dmp-frontend/src/app/entities/model/section.ts
index 67cae3207..9234283d8 100644
--- a/dmp-frontend/src/app/entities/model/section.ts
+++ b/dmp-frontend/src/app/entities/model/section.ts
@@ -3,9 +3,9 @@ import { Injectable } from '@angular/core';
@Injectable()
export class Section {
title: string;
- description:string;
+ description: string;
id: string;
defaultVisibility: boolean;
ordinal: number;
- page:number;
+ page: number;
}
\ No newline at end of file
diff --git a/dmp-frontend/src/app/form/dynamic-fields/dynamic-form-field.component.html b/dmp-frontend/src/app/form/dynamic-fields/dynamic-form-field.component.html
index 54b6613c8..5e6a7e85b 100644
--- a/dmp-frontend/src/app/form/dynamic-fields/dynamic-form-field.component.html
+++ b/dmp-frontend/src/app/form/dynamic-fields/dynamic-form-field.component.html
@@ -1,3 +1,52 @@
+
-
{{path+' '+group.title}}
-
{{group.description}}
-
{{group.extendedDescription}}
-
-
+
+
{{path + ' ' + group.title}}
+
+
{{group.description}}
+
+ {{group.extendedDescription}}
+
+
+
+
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/dmp-frontend/src/app/form/dynamic-form-group/dynamic-form-group.component.ts b/dmp-frontend/src/app/form/dynamic-form-group/dynamic-form-group.component.ts
index 8f21e7b14..ae0765fe4 100644
--- a/dmp-frontend/src/app/form/dynamic-form-group/dynamic-form-group.component.ts
+++ b/dmp-frontend/src/app/form/dynamic-form-group/dynamic-form-group.component.ts
@@ -1,5 +1,5 @@
import { FieldGroup } from '../../models/FieldGroup';
-import { Component, Input, OnInit } from '@angular/core';
+import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core';
import { FormGroup, Validators, FormControl } from '@angular/forms';
import { NgForm } from '@angular/forms';
import { Rule } from '../../entities/common/rule';
@@ -9,7 +9,8 @@ import { Rule } from '../../entities/common/rule';
@Component({
selector: 'df-group',
templateUrl: './dynamic-form-group.component.html',
- styleUrls: ['./dynamic-form-group.component.css']
+ styleUrls: ['./dynamic-form-group.component.css'],
+ encapsulation: ViewEncapsulation.None,
})
export class DynamicFormGroupComponent implements OnInit {
@Input() group: FieldGroup
diff --git a/dmp-frontend/src/app/form/dynamic-form-section/dynamic-form-section.css b/dmp-frontend/src/app/form/dynamic-form-section/dynamic-form-section.css
new file mode 100644
index 000000000..e69de29bb
diff --git a/dmp-frontend/src/app/form/dynamic-form-section/dynamic-form-section.html b/dmp-frontend/src/app/form/dynamic-form-section/dynamic-form-section.html
index bda872ad4..b03241ef6 100644
--- a/dmp-frontend/src/app/form/dynamic-form-section/dynamic-form-section.html
+++ b/dmp-frontend/src/app/form/dynamic-form-section/dynamic-form-section.html
@@ -1,8 +1,13 @@
-
+
+
+
+
{{path}} {{section.title}}
+
+
-
{{section.description}}
-
{{section.extendedDescription}}
+
{{section.description}}
+
{{section.extendedDescription}}
diff --git a/dmp-frontend/src/app/form/dynamic-form-section/dynamic-form-section.ts b/dmp-frontend/src/app/form/dynamic-form-section/dynamic-form-section.ts
index 4c22083c5..ef0009717 100644
--- a/dmp-frontend/src/app/form/dynamic-form-section/dynamic-form-section.ts
+++ b/dmp-frontend/src/app/form/dynamic-form-section/dynamic-form-section.ts
@@ -1,19 +1,23 @@
import { FormGroup } from '@angular/forms';
import { Section } from '../../entities/model/section';
-import { Component, Input, OnInit } from '@angular/core';
+import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core';
@Component({
- selector: 'df-section',
- templateUrl: './dynamic-form-section.html',
- })
- export class DynamicFormSectionComponent implements OnInit{
+ selector: 'df-section',
+ templateUrl: './dynamic-form-section.html',
+ styleUrls: [
+ './dynamic-form-section.css'
+ ],
+ encapsulation: ViewEncapsulation.None,
+})
+export class DynamicFormSectionComponent implements OnInit {
- @Input() section: Section
- @Input() form: FormGroup;
- @Input() pathName:string;
- @Input() path:string;
- constructor(){}
+ @Input() section: Section
+ @Input() form: FormGroup;
+ @Input() pathName: string;
+ @Input() path: string;
+ constructor() { }
- ngOnInit(){
+ ngOnInit() {
- }
- }
\ No newline at end of file
+ }
+}
\ No newline at end of file