This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
2017-05-12 11:54:59 +02:00
|
|
|
<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}">
|
2017-05-12 10:58:43 +02:00
|
|
|
<div class="field">
|
2017-05-15 10:22:24 +02:00
|
|
|
<label>Expiration Date</label>
|
2017-05-19 15:37:20 +02:00
|
|
|
<input type="date" name="fouled_at" placeholder="Fouled at date (e.g. 2017-06-30)" ng-model="obj.fouled_at"
|
|
|
|
required="" pattern="((?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|
|
|
|
|
1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31)))?">
|
|
|
|
</div>
|
2017-05-12 10:58:43 +02:00
|
|
|
<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>
|
2017-05-15 10:22:24 +02:00
|
|
|
<input type="text" name="comment" placeholder="Comment for this good", ng-model="obj.comment">
|
2017-05-12 10:58:43 +02:00
|
|
|
</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>
|
2017-05-12 11:54:59 +02:00
|
|
|
<div class="ui bottom attached message {{msg.type}}" ng-show="msg.type">
|
|
|
|
{{msg.text}}
|
|
|
|
</div>
|