Skip to content

Commit

Permalink
#4 Refactoring the Angular show/hide
Browse files Browse the repository at this point in the history
  • Loading branch information
eysteinbye committed Mar 12, 2014
1 parent 75832a7 commit 347657a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,27 @@ <h1>ShowMe!</h1>
</label><br />
<label>
Product name
<input data-ng-show="user" type="text" data-ng-model="product" data-ng-keydown="addProduct($event)" placeholder="Product name...">
<input type="text" data-ng-model="product" data-ng-keydown="addProduct($event)" placeholder="Product name...">
</label><br />
<label>
Time
<input data-ng-show="user" type="text" data-ng-model="startTime" data-ng-keydown="addProduct($event)" placeholder="Time...">
<input type="text" data-ng-model="startTime" data-ng-keydown="addProduct($event)" placeholder="Time...">
</label><br />
<label>
ShowID
<input data-ng-show="user" type="text" data-ng-model="showId" data-ng-keydown="addProduct($event)" placeholder="ShowID...">
<input type="text" data-ng-model="showId" data-ng-keydown="addProduct($event)" placeholder="ShowID...">
</label><br />
<label>
Code
<input data-ng-show="user" type="text" data-ng-model="code" data-ng-keydown="addProduct($event)" placeholder="Code...">
<input type="text" data-ng-model="code" data-ng-keydown="addProduct($event)" placeholder="Code...">
</label><br />
<label>
CodeType
<input data-ng-show="user" type="text" data-ng-model="codeType" data-ng-keydown="addProduct($event)" placeholder="CodeType...">
<input type="text" data-ng-model="codeType" data-ng-keydown="addProduct($event)" placeholder="CodeType...">
</label><br />
<label>
Image
<input data-ng-show="user" type="text" data-ng-model="imageUrl" data-ng-keydown="addProduct($event)" placeholder="Image">
<input type="text" data-ng-model="imageUrl" data-ng-keydown="addProduct($event)" placeholder="Image">
</label>
</div>

Expand Down

0 comments on commit 347657a

Please sign in to comment.