diff --git a/src/app/app.routing.ts b/src/app/app.routing.ts index dc9e2cd..169e050 100644 --- a/src/app/app.routing.ts +++ b/src/app/app.routing.ts @@ -15,7 +15,7 @@ export const routes: Routes = [ { path: '', component: FullLayoutComponent, - canActivate: [AuthGuard], + // canActivate: [AuthGuard], data: { title: 'Home' }, diff --git a/src/app/pages/register.component.html b/src/app/pages/register.component.html index 1369992..e311d4b 100644 --- a/src/app/pages/register.component.html +++ b/src/app/pages/register.component.html @@ -17,87 +17,120 @@ -->
- - -
+ + + -
- @ - -
+
+ @ + +
- - -
+ + + -
- - -
+
+ + +
- -
+ +
- - -
+ + +
- - -
+ + +
- - -
+ + +
Year of Birth - -
+ + - - + +
- - -
+ + +
+ + + +
+ +
- - -
+ + +
- - -
+ + + + +
+ + +
- - -
+ + + - - + +
Please Select a User Type
diff --git a/src/app/pages/register.component.ts b/src/app/pages/register.component.ts index f51f7eb..34c62b7 100644 --- a/src/app/pages/register.component.ts +++ b/src/app/pages/register.component.ts @@ -41,10 +41,11 @@ export class RegisterComponent { display_name: 'required', full_name: 'required', postcode: 'required', - year_of_birth: 'required', + year_of_birth:'required', }); this.organisationForm = new ValidationManager({ name: 'required', + name: 'sector', street_name: 'required', town: 'required', postcode: 'required', @@ -100,6 +101,7 @@ export class RegisterComponent { email: signupForm.email, password: signupForm.password, name: organisationForm.name, + name: organisationForm.sector, street_name: organisationForm.street_name, town: organisationForm.town, postcode: organisationForm.postcode, diff --git a/src/app/providers/api-service.ts b/src/app/providers/api-service.ts index 11091e3..4f7b406 100644 --- a/src/app/providers/api-service.ts +++ b/src/app/providers/api-service.ts @@ -96,7 +96,7 @@ export class ApiService { } ) } - + // Fake chart data to mimic public graph_data(data) {