30 lines
		
	
	
		
			954 B
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			954 B
		
	
	
	
		
			HTML
		
	
	
	
| <h1>
 | |
|   {{product.title}}
 | |
|   <a ui-sref="item({productid:product.id})">
 | |
|     <i class="icon linkify"></i>
 | |
|   </a>
 | |
| </h1>
 | |
| 
 | |
| <form class="ui form segment" ng-submit="submit()" ng-class="{'top attached':msg.type}">
 | |
|   <div class="field">
 | |
|     <label>Fouled at</label>
 | |
|     <input type="date" name="fouled_at" placeholder="Fouled at date" ng-model="obj.fouled_at">
 | |
|   </div>
 | |
|   <div class="field">
 | |
|     <label>Position</label>
 | |
|     <input type="text" name="position" placeholder="Location in Store", ng-model="obj.position">
 | |
|   </div>
 | |
|   <div class="field">
 | |
|     <label>Comment</label>
 | |
|     <input type="text" name="comment" placeholder="Comment to this good", ng-model="obj.comment">
 | |
|   </div>
 | |
|   <div class="field">
 | |
|     <label>Count</label>
 | |
|     <input type="number" name="count" ng-model="count" min="1">
 | |
|   </div>
 | |
|   <button class="ui button" type="submit">Submit</button>
 | |
| </form>
 | |
| <div class="ui bottom attached message {{msg.type}}" ng-show="msg.type">
 | |
|   {{msg.text}}
 | |
| </div>
 |