commonroutesServer/app/www/templates/newtravel.html
app/www/templates/newtravel.htmlRaw
1<ion-modal-view view-title="Travel">
2 <ion-content>
3
4 <h4>
5 <img class='o-imgTitle' src="img/road.png" />
6 New Travel {{newtravel.title}}
7 </h4>
8 <form class="list">
9 <label class="item item-input">
10 <span class="input-label"t>Title</span>
11 <input ng-model="newtravel.title" class="positive" type="text" placeholder="">
12 </label>
13
14 <label class="item item-input">
15 <span class="input-label">From</span>
16 <input ng-model="newtravel.from" type="text" placeholder="">
17 </label>
18 <label class="item item-input">
19 <span class="input-label">To</span>
20 <input ng-model="newtravel.to" type="text" placeholder="">
21 </label>
22
23 <label class="item item-input">
24 <span class="input-label">nºSeats</span>
25 <input ng-model="newtravel.seats" type="number" placeholder="">
26 </label>
27
28 <label class="item item-input">
29 <span class="input-label">Date</span>
30 <input ng-model="newtravel.date" type="date" placeholder="">
31 </label>
32 <label class="item item-input">
33 <span class="input-label">hour</span>
34 <input ng-model="newtravel.date" type="time" placeholder="">
35 </label>
36 <label class="item item-input">
37 <span class="input-label">phone contact</span>
38 <input ng-model="newtravel.phone" type="number" placeholder="">
39 </label>
40
41 <label class="item item-input item-floating-label">
42 <span class="input-label">Description</span>
43 <input ng-model="newtravel.description" type="text" placeholder="Description">
44 </label>
45 <button ng-click="closeNewTravel()" class="button button-assertive">
46 Cancel
47 </button>
48 <button ng-click="doNewTravel()" class="button button-calm">
49 Create travel
50 </button>
51 </form>
52
53 </ion-content>
54</ion-modal-view>