<!-- <ion-modal-view> -->
	<!-- <ion-header-bar class="bar bar-header bar-positive">
		<h1 class="title"></h1>
		<button class="button button-clear button-primary" ng-click="modal.hide()">Cancel</button>
	</ion-header-bar>
	<ion-content> -->
		<!-- select -->
		<div class="padding mgT50" ng-if="confirm.type=='select'">
			<div class="item item-text-wrap">
				{{confirm.title}}
				
			</div>
			<select ng-model="confirmprocess[confirm.model]" ng-options="btn.label for btn in confirm.fields track by btn.id" class="full-w"></select>
			<button class="button button-full button-positive" ng-click="confirmselect()">Submit</button>
		</div>
		<!-- datetime -->
		<div class="padding mgT50"  ng-if="confirm.type=='datetime'">
			
			<div class="item item-text-wrap">
				{{confirm.title}}
			</div>
			<div class="item item-icon-left" ng-repeat ="btn in confirm.fields" ion-datetime-picker date ng-model="confirmprocess[confirm.model]">
				<i class="icon ion-ios-calendar positive"></i>
				<strong>{{confirmprocess[confirm.model]| date: "yyyy-MM-dd"}}</strong>
			</div>
			
			<button class="button button-full button-reality" ng-click="confirmcreatetask()">Submit</button>
			
		</div>
		<!-- text -->
		<div class="padding mgT50" ng-if="confirm.type=='text'">
			
			<div class="item item-text-wrap">
				{{confirm.title}}
				
			</div>
			<label class="item item-input">
				<div class="input-field" ng-repeat ="btn in confirm.fields">
					<input type="text"  id="reasonnotcomplete"  format="MM/DD/YYYY" ng-model="confirmprocess[confirm.model]"   placeholder="{{btn.label}}" value="" name="{{confirm.model}}" class="awsdatepicker full-w">
				</div>
			</label>
			
			<button class="button button-full button-positive" ng-click="confirmcreatetask()">Submit</button>
		</div>
		<!-- text -->
		<div class="padding mgT50" ng-if="confirm.type=='yesno'">
			<div class="item item-text-wrap">{{confirm.title}}</div>
			<br>
			<div class="button-bar">
				<a class="button activated"  ng-repeat ="btn in confirm.fields" ng-click="confirmyesno(btn)">{{btn.label}}</a>
			</div>
			
		</div>
	<!-- </div> -->
	<!-- </ion-content> -->
	<!-- </ion-modal-view> -->
	<style type="text/css">
 		.modal-backdrop {
			z-index: 1;
		}
	</style>