From 9dc82fb4fe9c6c1cb79975450affa8ca29b622f2 Mon Sep 17 00:00:00 2001 From: piratefinn Date: Thu, 1 Jun 2017 17:03:16 +0100 Subject: [PATCH] Added proper switch for user form switch between customer and organisation --- src/app/pages/pages.module.ts | 2 + src/app/pages/register.component.html | 101 ++++++++++++-------------- 2 files changed, 47 insertions(+), 56 deletions(-) diff --git a/src/app/pages/pages.module.ts b/src/app/pages/pages.module.ts index 933aa1c..4c75765 100644 --- a/src/app/pages/pages.module.ts +++ b/src/app/pages/pages.module.ts @@ -8,6 +8,7 @@ import { LoginComponent } from './login.component'; import { RegisterComponent } from './register.component'; import { PagesRoutingModule } from './pages-routing.module'; +import { TabsModule } from 'ngx-bootstrap/tabs'; @NgModule({ imports: [ @@ -15,6 +16,7 @@ import { PagesRoutingModule } from './pages-routing.module'; PagesRoutingModule, FormsModule, ReactiveFormsModule, + TabsModule ], declarations: [ P404Component, diff --git a/src/app/pages/register.component.html b/src/app/pages/register.component.html index 3cb4584..d6bfc6f 100644 --- a/src/app/pages/register.component.html +++ b/src/app/pages/register.component.html @@ -7,26 +7,19 @@

Register

Create your account

-
+ +
- -
- - -
@ @@ -34,21 +27,6 @@
- - -
- -
- - -
- -
- - -
- -
@@ -57,35 +35,28 @@
- - - -
-
- - + + +
+
+ +
+
+
+
+ +
- -
- -
- - -
- -
- - -
- -
- @ - +
@@ -100,18 +71,36 @@
-
- - + + +
+
+
+
+ +
- -
- - + +
+ + +
+ +
+ + +
+ +
+ +
+
+
Please Select a User Type
+