Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Step 16.2: Use the hidden attribute in the PartiestList
  • Loading branch information
dotansimha authored and DAB0mB committed Dec 14, 2016
1 parent 0be0e45 commit 0ea19f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/imports/app/parties/parties-list.component.html
@@ -1,5 +1,5 @@
<div>
<parties-form style="float: left"></parties-form>
<parties-form [hidden]="!user" style="float: left"></parties-form>
<input type="text" #searchtext placeholder="Search by Location">
<button type="button" (click)="search(searchtext.value)">Search</button>

Expand All @@ -19,7 +19,7 @@ <h1>Parties:</h1>
<a [routerLink]="['/party', party._id]">{{party.name}}</a>
<p>{{party.description}}</p>
<p>{{party.location}}</p>
<button (click)="removeParty(party)">X</button>
<button [hidden]="!isOwner(party)" (click)="removeParty(party)">X</button>
<div>
Who is coming:
Yes - {{party | rsvp:'yes'}}
Expand Down

0 comments on commit 0ea19f2

Please sign in to comment.