Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form (ngSubmit)="saveCustomer($event); $event.preventDefault()">
- <div class="row">
- <div class="col-sm-12 pb10">
- <h2>{{customerMapped?.name}}</h2>
- <span>{{customerMapped?.street}}</span><br/>
- <span>{{customerMapped?.zip}} {{customerMapped?.city}}</span>
- </div>
- <div class="col-sm-12" *ngFor="let section of template?.sections">
- <h3 class="bordered-top pt10">{{section.displayName}}</h3>
- <div class="row">
- <div class="col-sm-6" *ngFor="let attribute of section?.attributes">
- <div class="form-group">
- <label for="code">{{attribute.displayName}}</label>
- <input type="text" class="form-control" id="{{attribute.name}}"
- name="customerMapped[attribute.name]"
- (ngModel)="customerMapped[attribute.name]"
- (ngModelChange)="customerMapped[attribute.name] = $event"
- />
- </div>
- </div>
- </div>
- </div>
- </div>
Add Comment
Please, Sign In to add comment