newEvent categories selection implemented, and image by url (temporalment)

This commit is contained in:
arnaucode
2017-02-24 00:33:16 +01:00
parent e102427098
commit 8b1e678202
2 changed files with 39 additions and 12 deletions

View File

@@ -15,17 +15,16 @@
<span class="input-label">{{'Hour' | translate}}</span>
<input ng-model="event.date" type="time" placeholder="">
</label>
<!--<label class="item item-input item-select">
<div class="input-label">
Categories
</div>
<select>
<option>Xerrada</option>
<option>Esport</option>
<option>Debat</option>
<option>Taller</option>
</select>
</label>-->
<label class="item item-input">
<input type="text" ng-model="event.img" placeholder="img">
</label>
<ion-list>
Categories:
<ion-checkbox ng-model="category.selected" ng-repeat="category in categories"
ng-click="categorySelected()">
{{category.name}}
</ion-checkbox>
</ion-list>
<label class="item item-input">
<input type="text" ng-model="event.location.direction" placeholder="Direction">
</label>