Fixed HTML layout
This commit is contained in:
parent
47e50e65d6
commit
a2817436e0
1 changed files with 53 additions and 51 deletions
|
@ -45,64 +45,66 @@
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<div [ngSwitch]="accountType">
|
<div [ngSwitch]="accountType">
|
||||||
<div *ngSwitchCase="'organisation'">
|
<div *ngSwitchCase="'organisation'">
|
||||||
<form class="form-horizontal" [formGroup]="settingOrganisationForm" (ngSubmit)="onSubmitOrganisation()">
|
<form class="form-horizontal" [formGroup]="settingOrganisationForm" (ngSubmit)="onSubmitOrganisation()">
|
||||||
<div class="card-block">
|
<div class="card-block">
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label class="col-md-3 form-control-label" for="text-input"><strong>Business Name</strong></label>
|
<label class="col-md-3 form-control-label" for="text-input"><strong>Business Name</strong></label>
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
<input type="text" class="form-control" formControlName="name">
|
<input type="text" class="form-control" formControlName="name">
|
||||||
<span class="help-block">This is a help text</span>
|
<span class="help-block">This is a help text</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="card-block">
|
||||||
</div>
|
<div class="form-group row">
|
||||||
<div class="card-block">
|
<label class="col-md-3 form-control-label" for="text-input"><strong>Street Name</strong></label>
|
||||||
<div class="form-group row">
|
<div class="col-md-9">
|
||||||
<label class="col-md-3 form-control-label" for="text-input"><strong>Street Name</strong></label>
|
<input type="text" class="form-control" formControlName="street_name">
|
||||||
<div class="col-md-9">
|
<span class="help-block">This is a help text</span>
|
||||||
<input type="text" class="form-control" formControlName="street_name">
|
</div>
|
||||||
<span class="help-block">This is a help text</span>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="card-block">
|
||||||
</div>
|
<div class="form-group row">
|
||||||
<div class="card-block">
|
<label class="col-md-3 form-control-label" for="text-input"><strong>Location</strong></label>
|
||||||
<div class="form-group row">
|
<div class="col-md-9">
|
||||||
<label class="col-md-3 form-control-label" for="text-input"><strong>Location</strong></label>
|
<input type="text" class="form-control" formControlName="town">
|
||||||
<div class="col-md-9">
|
<span class="help-block">This is a help text</span>
|
||||||
<input type="text" class="form-control" formControlName="town">
|
</div>
|
||||||
<span class="help-block">This is a help text</span>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="card-footer">
|
||||||
</div>
|
<button type="submit" class="btn btn-sm btn-primary"><i class="fa fa-dot-circle-o"></i> Submit</button>
|
||||||
<div class="card-footer">
|
|
||||||
<button type="submit" class="btn btn-sm btn-primary"><i class="fa fa-dot-circle-o"></i> Submit</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
<div *ngSwitchCase="'customer'">
|
|
||||||
<form class="form-horizontal" [formGroup]="settingCustomerForm" (ngSubmit)="onSubmitCustomer()">
|
|
||||||
<div class="card-block">
|
|
||||||
<div class="form-group row">
|
|
||||||
<label class="col-md-3 form-control-label" for="text-input"><strong>Full Name</strong></label>
|
|
||||||
<div class="col-md-9">
|
|
||||||
<input type="text" class="form-control" formControlName="full_name">
|
|
||||||
<span class="help-block">This is a help text</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-block">
|
<div *ngSwitchCase="'customer'">
|
||||||
<div class="form-group row">
|
<form class="form-horizontal" [formGroup]="settingCustomerForm" (ngSubmit)="onSubmitCustomer()">
|
||||||
<label class="col-md-3 form-control-label" for="text-input"><strong>Display Name</strong></label>
|
<div class="card-block">
|
||||||
<div class="col-md-9">
|
<div class="form-group row">
|
||||||
<input type="text" class="form-control" formControlName="display_name">
|
<label class="col-md-3 form-control-label" for="text-input"><strong>Full Name</strong></label>
|
||||||
<span class="help-block">This is a help text</span>
|
<div class="col-md-9">
|
||||||
|
<input type="text" class="form-control" formControlName="full_name">
|
||||||
|
<span class="help-block">This is a help text</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="card-block">
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-3 form-control-label" for="text-input"><strong>Display Name</strong></label>
|
||||||
|
<div class="col-md-9">
|
||||||
|
<input type="text" class="form-control" formControlName="display_name">
|
||||||
|
<span class="help-block">This is a help text</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-footer">
|
||||||
|
<button type="submit" class="btn btn-sm btn-primary"><i class="fa fa-dot-circle-o"></i> Submit</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-footer">
|
</div>
|
||||||
<button type="submit" class="btn btn-sm btn-primary"><i class="fa fa-dot-circle-o"></i> Submit</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div><!--/.row-->
|
</div><!--/.row-->
|
||||||
|
|
Reference in a new issue