Skip to content

Commit

Permalink
Fixed two components for the current version of the app
Browse files Browse the repository at this point in the history
  • Loading branch information
alcfeoh committed Feb 2, 2018
1 parent 7d8084d commit ce39f52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/cart-view/cart-view.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="row" >

<app-license-plate *ngFor="let plate of cartContents" [plate]="plate"
buttonText="Remove from cart &times;" (onButtonClick)="removeFromCart(plate)"
buttonText="Remove from cart &times;" (onAddToCart)="removeFromCart(plate)"
class="col-md-4" style="margin-top: 40px">

</app-license-plate>
Expand Down
3 changes: 1 addition & 2 deletions src/app/checkout-form/checkout-form.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@
<br>
<div class="row">
<div class="col-lg-6">
<div class="alert alert-danger" role="alert" [hidden]="cc.valid || cc.pristine">Please enter a valid credit card number</div>
<div class="input-group">
<input type="password" class="form-control" placeholder="Credit card number" name="cc" ngModel required pattern="[0-9]{16}" #cc="ngModel">
<input type="password" class="form-control" placeholder="Credit card number" name="cc" ngModel required>
<span class="input-group-addon" ><img src="assets/card-types/mastercard.png"/></span>
</div>
</div>
Expand Down

0 comments on commit ce39f52

Please sign in to comment.