Advertisement
Guest User

HTML

a guest
Apr 2nd, 2020
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.90 KB | None | 0 0
  1. <mat-card id="search">
  2.   <mat-form-field class="recipe-form">
  3.     <input type="text" matInput placeholder="search by restaurant" value="restaurant">
  4.  
  5.    </mat-form-field>
  6.  </mat-card>
  7.  
  8.  <mat-card id="details" *ngFor="let recipe of list">
  9.      <mat-card-title>{{ recipe.name }}</mat-card-title>
  10.      <mat-card-subtitle>Place: {{ recipe.place }}</mat-card-subtitle>
  11.      <mat-card-subtitle>Rating: {{recipe.rating}}</mat-card-subtitle>
  12.      <mat-card-subtitle>Notes: {{recipe.notes}}</mat-card-subtitle>
  13.      <mat-card-actions>
  14.        <button (click)="goMap(recipe)" mat-button><mat-icon>map</mat-icon></button>
  15.        <button (click)="share(recipe)" mat-button><mat-icon>share</mat-icon></button>
  16.        <button (click)="goDetails(recipe)" mat-button><mat-icon>list</mat-icon></button>
  17.  
  18.      </mat-card-actions>
  19.   </mat-card>
  20.  
  21.   <a id="btnCreate" mat-fab routerLink="/recipe"><mat-icon>create</mat-icon></a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement