<ion-view view-title="新建日程" hide-back-button="true">
    <ion-nav-buttons side="left">
        <button class="button button-clear" ng-click="goBack()">取消</button>
    </ion-nav-buttons>
    <ion-nav-buttons side="right">
        <button class="button button-clear" ng-click="addSchedule()">完成</button>
    </ion-nav-buttons>
    <ion-content>
        <div class="item item-divider"></div>
        <div class="mission-create-content">
            <div class="item item-input">
                <textarea rows="6" ng-model="data.content" placeholder="输入日程内容"></textarea>
            </div>
        </div>
        <div class="item item-divider"></div>
        <a class="item item-icon-right" ng-click="chooseStartddDate()">时间
            <span class="item-note">{{data.start_date_title}}</span>
            <i class="icon ion-chevron-right icon-accessory"></i>
        </a>
        <a class="item item-icon-right item-text-wrap over-flow-auto" ng-click="showRepeatIdModal()">
            <span>重复</span>
            <span class="item-note max-width-45">{{data.repeat_freq_title}}</span>
            <i class="icon ion-chevron-right icon-accessory"></i>
        </a>
        <a class="item item-icon-right" ng-click="showRepeatendddModal()" ng-show="data.repeat_type != 0">结束重复
            <span class="item-note">{{data.end_date == null ? "一直重复" : data.end_date | date:'yyyy-MM-dd' }}</span>
            <i class="icon ion-chevron-right icon-accessory"></i>
        </a>
        <div class="item item-divider"></div>
        <!--<a class="item item-icon-right" ng-click="selectmember()">成员
            <span class="item-note">{{ sel_member_names }}</span>
            <i class="icon ion-chevron-right icon-accessory"></i>
        </a>
        <div class="item item-divider"></div>-->
        <a class="item item-icon-right" ng-click="showWarningIdModal()">提醒
            <span class="item-note">{{ warningHt[data.notification_type] }}</span>
            <i class="icon ion-chevron-right icon-accessory"></i>
        </a>
    </ion-content>
</ion-view>