|
<ion-modal-view view-title="{{'Travel' | translate}}">
|
|
<ion-content>
|
|
|
|
<h4 class="padding">
|
|
<img class='o-imgTitle' src="img/asking.png" />
|
|
{{'New_Asking_Travel' | translate }} {{newtravel.title}}
|
|
</h4>
|
|
<form class="list">
|
|
<label class="item item-input">
|
|
<span class="input-label"t>{{'Title' | translate }}</span>
|
|
<input ng-model="newtravel.title" class="positive" type="text" placeholder="">
|
|
</label>
|
|
|
|
<label class="item item-input">
|
|
<img class='o-imgMenu' src="img/localization.png" />
|
|
<span class="input-label">{{'From' | translate }}</span>
|
|
<input ng-model="newtravel.from" type="text" placeholder="">
|
|
</label>
|
|
<label class="item item-input">
|
|
<img class='o-imgMenu' src="img/localization.png" />
|
|
<span class="input-label">{{'To' | translate }}</span>
|
|
<input ng-model="newtravel.to" type="text" placeholder="">
|
|
</label>
|
|
|
|
<label class="item item-input">
|
|
<span class="input-label">{{'n_People' | translate }}</span>
|
|
<input ng-model="newtravel.seats" type="number" placeholder="">
|
|
</label>
|
|
<label class="item item-input">
|
|
<span class="input-label">{{'Date' | translate }}</span>
|
|
<input ng-model="newtravel.date" type="date" placeholder="">
|
|
</label>
|
|
<label class="item item-input">
|
|
<span class="input-label">{{'Hour' | translate }}</span>
|
|
<input ng-model="newtravel.date" type="time" placeholder="">
|
|
</label>
|
|
<!--<label class="item item-input">
|
|
<span class="input-label"><i class="icon ion-iphone"></i> {{'Phone_contact' | translate }}</span>
|
|
<input ng-model="newtravel.phone" type="number" placeholder="">
|
|
</label>
|
|
<label class="item item-input">
|
|
<span class="input-label">{{'Telegram_user' | translate }}</span>
|
|
<input ng-model="newtravel.telegram" type="text" placeholder="">
|
|
</label>-->
|
|
<ion-toggle ng-model="newtravel.package" toggle-class="toggle-calm">
|
|
<img class='o-imgMenu' src="img/package.png" />
|
|
{{'Need_to_carry_package' | translate }}
|
|
</ion-toggle>
|
|
<label class="item item-input item-floating-label">
|
|
<span class="input-label">Description</span>
|
|
<input ng-model="newtravel.description" type="text" placeholder="Description">
|
|
</label>
|
|
<p class="padding">
|
|
<button ng-click="closeNewAskingTravel()" class="button button-assertive">
|
|
{{'Cancel' | translate }}
|
|
</button>
|
|
<button ng-click="doNewAskingTravel()" class="button button-calm">
|
|
{{'Create_asking_travel' | translate }}
|
|
</button>
|
|
</p>
|
|
</form>
|
|
|
|
</ion-content>
|
|
</ion-modal-view>
|