<ion-modal-view view-title="Travel">
  <ion-content>

    <h4>
        <img class='o-imgTitle' src="img/asking.png" />
        New Asking 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">
            <img class='o-imgMenu' src="img/localization.png" />
            <span class="input-label">From</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</span>
            <input ng-model="newtravel.to" type="text" placeholder="">
        </label>

        <label class="item item-input">
            <span class="input-label">nº people</span>
            <input ng-model="newtravel.seats" type="number" placeholder="">
        </label>
        <ion-toggle ng-model="newtravel.package" toggle-class="toggle-calm">
            <img class='o-imgMenu' src="img/package.png" />
            Need to carry package
        </ion-toggle>
        <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"><i class="icon ion-iphone"></i> phone contact</span>
            <input ng-model="newtravel.phone" type="number" placeholder="">
        </label>
        <label class="item item-input">
            <span class="input-label">telegram user</span>
            <input ng-model="newtravel.telegram" type="text" 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="closeNewAskingTravel()" class="button button-assertive">
           Cancel
        </button>
        <button ng-click="doNewAskingTravel()" class="button button-calm">
           Create travel
        </button>
    </form>

  </ion-content>
</ion-modal-view>
