arnaucube
arnaucube/commonroutesAppPublic Self-hosted repository
commonroutesApp/www/templates/offerCar.html
www/templates/offerCar.htmlRaw
 1<ion-view view-title="Offer Car">
 2  <ion-content>
 3      <div class="list">
 4          <label class="item item-input">
 5              <span class="input-label"t>{{'Title' | translate}}</span>
 6              <input ng-model="newtravel.title" class="positive" type="text" placeholder="">
 7          </label>
 8
 9          <label class="item item-input">
10              <img class='o-imgMenu' src="img/localization.png" />
11              <span class="input-label">{{'From' | translate}}</span>
12              <input ng-model="newtravel.from" type="text" placeholder="">
13          </label>
14          <label class="item item-input">
15              <img class='o-imgMenu' src="img/localization.png" />
16              <span class="input-label">{{'To' | translate}}</span>
17              <input ng-model="newtravel.to" type="text" placeholder="">
18          </label>
19
20          <label class="item item-input">
21              <span class="input-label">{{'n_Seats' | translate}}</span>
22              <input ng-model="newtravel.seats" type="number" placeholder="">
23          </label>
24          <label class="item item-input">
25              <span class="input-label">{{'Date' | translate}}</span>
26              <input ng-model="newtravel.date" type="date" placeholder="">
27          </label>
28          <label class="item item-input">
29              <span class="input-label">{{'Hour' | translate}}</span>
30              <input ng-model="newtravel.date" type="time" placeholder="">
31          </label>
32          <!--<label class="item item-input">
33              <span class="input-label"><i class="icon ion-iphone"></i> {{'Phone_contact' | translate}}</span>
34              <input ng-model="newtravel.phone" type="number" placeholder="">
35          </label>
36          <label class="item item-input">
37              <span class="input-label">{{'Telegram_user' | translate}}</span>
38              <input ng-model="newtravel.telegram" type="text" placeholder="">
39          </label>-->
40          <ion-toggle ng-model="newtravel.package" toggle-class="toggle-calm">
41              <img class='o-imgMenu' src="img/package.png" />
42              {{'Can_carry_package' | translate}}
43          </ion-toggle>
44          <ion-toggle ng-model="newtravel.collectivized" toggle-class="toggle-calm">
45              {{'Collectivized_car' | translate}}
46          </ion-toggle>
47
48          <label class="item item-input item-floating-label">
49              <span class="input-label">{{'Description' | translate}}</span>
50              <input ng-model="newtravel.description" type="text" placeholder="Description">
51          </label>
52          <p class="padding">
53            <button ng-click="createTravel()" class="button button-calm o_floatRight">
54               {{'Create_travel' | translate}}
55            </button>
56          </p>
57      </div>
58  </ion-content>
59</ion-view>