Guest User

Untitled

a guest
Nov 21st, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. <form (ngSubmit)="saveCustomer($event); $event.preventDefault()">
  2. <div class="row">
  3. <div class="col-sm-12 pb10">
  4. <h2>{{customerMapped?.name}}</h2>
  5. <span>{{customerMapped?.street}}</span><br/>
  6. <span>{{customerMapped?.zip}} {{customerMapped?.city}}</span>
  7. </div>
  8. <div class="col-sm-12" *ngFor="let section of template?.sections">
  9. <h3 class="bordered-top pt10">{{section.displayName}}</h3>
  10. <div class="row">
  11. <div class="col-sm-6" *ngFor="let attribute of section?.attributes">
  12. <div class="form-group">
  13. <label for="code">{{attribute.displayName}}</label>
  14. <input type="text" class="form-control" id="{{attribute.name}}"
  15. name="customerMapped[attribute.name]"
  16. (ngModel)="customerMapped[attribute.name]"
  17. (ngModelChange)="customerMapped[attribute.name] = $event"
  18. />
  19. </div>
  20. </div>
  21. </div>
  22. </div>
  23. </div>
Add Comment
Please, Sign In to add comment