Merge pull request #3 from Pear-Trading/finn/profilepiccommentout

Commented out currently unusable code
This commit is contained in:
Finn 2017-09-04 16:15:59 +01:00 committed by GitHub
commit 2596802a55
2 changed files with 3 additions and 3 deletions

View file

@ -43,14 +43,14 @@
</div> </div>
</div> </div>
</div> </div>
<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="file-input">Profile Picture</label> <label class="col-md-3 form-control-label" for="file-input">Profile Picture</label>
<div class="col-md-9"> <div class="col-md-9">
<input type="file" #fileInput formControlName="profile_picture"> <input type="file" #fileInput formControlName="profile_picture">
</div> </div>
</div> </div>
</div> </div> -->
</form> </form>
<div [ngSwitch]="accountType"> <div [ngSwitch]="accountType">
<div *ngSwitchCase="'organisation'"> <div *ngSwitchCase="'organisation'">

View file

@ -26,7 +26,7 @@ export class AccountEditComponent implements OnInit {
postcode : ['', [Validators.required]], postcode : ['', [Validators.required]],
password : ['', [Validators.required]], password : ['', [Validators.required]],
new_password : [''], new_password : [''],
profile_picture : [''], // profile_picture : [''],
}); });
this.settingOrganisationForm = this.formBuilder.group({ this.settingOrganisationForm = this.formBuilder.group({
name : ['', [Validators.required]], name : ['', [Validators.required]],