<ion-modal-view view-title="Travel">
|
|
<ion-content>
|
|
|
|
<h4>
|
|
<img class='o-imgTitle' src="img/road.png" />
|
|
New Travel {{newtravel.title}}
|
|
</h4>
|
|
<form class="list">
|
|
<label class="item item-input">
|
|
<span class="input-label"t>Title</span>
|
|
<input ng-model="newtravel.title" class="positive" type="text" placeholder="">
|
|
</label>
|
|
|
|
<label class="item item-input">
|
|
<span class="input-label">From</span>
|
|
<input ng-model="newtravel.from" type="text" placeholder="">
|
|
</label>
|
|
<label class="item item-input">
|
|
<span class="input-label">To</span>
|
|
<input ng-model="newtravel.to" type="text" placeholder="">
|
|
</label>
|
|
|
|
<label class="item item-input">
|
|
<span class="input-label">nºSeats</span>
|
|
<input ng-model="newtravel.seats" type="number" placeholder="">
|
|
</label>
|
|
|
|
<label class="item item-input">
|
|
<span class="input-label">Date</span>
|
|
<input ng-model="newtravel.date" type="date" placeholder="">
|
|
</label>
|
|
<label class="item item-input">
|
|
<span class="input-label">hour</span>
|
|
<input ng-model="newtravel.date" type="time" placeholder="">
|
|
</label>
|
|
<label class="item item-input">
|
|
<span class="input-label">phone contact</span>
|
|
<input ng-model="newtravel.phone" type="number" placeholder="">
|
|
</label>
|
|
|
|
<label class="item item-input item-floating-label">
|
|
<span class="input-label">Description</span>
|
|
<input ng-model="newtravel.description" type="text" placeholder="Description">
|
|
</label>
|
|
<button ng-click="closeNewTravel()" class="button button-assertive">
|
|
Cancel
|
|
</button>
|
|
<button ng-click="doNewTravel()" class="button button-calm">
|
|
Create travel
|
|
</button>
|
|
</form>
|
|
|
|
</ion-content>
|
|
</ion-modal-view>
|