<div class="col-md-12 form-horizontal" ng-controller="CloseSmsCampaignController">
    <div>
        <ul class="breadcrumb">
            <li><a href="#/sms/viewcampaign">{{'label.view.viewcampaign' | translate}}</a></li>
            <li class="active">{{'label.anchor.closesmscampaign' | translate}}</li>
        </ul>
    </div>
    <api-validate></api-validate>
    <div class="clearfix"></div>
    <div class="form-horizontal well">
        <form name="closesmscampaign" novalidate="" rc-submit="submit()" >
            <fieldset>
                <div class="form-group">
                    <label class="control-label col-sm-2">{{ 'label.input.closedate' | translate }}<span
                            class="required">*</span></label>

                    <div class="col-sm-3">
                        <input id="closureDate" name="closureDate" sort type="text" datepicker-pop="dd MMMM yyyy" ng-model="formData.closureDate"
                               class="form-control" is-open="opened" min="minDate" max="restrictDate" required/>
                    </div>
                    <div class="col-sm-2">
                        <form-validate valattributeform="closesmscampaign" valattribute="closureDate"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-3"></div>
                    <div>
                        <a id="cancel" href="#/sms/viewcampaign" class="btn btn-default">{{'label.button.cancel' | translate}}</a>
                        <button id="save" type="submit" class="btn btn-primary">{{'label.button.save' | translate}}</button>
                    </div>
                </div>
            </fieldset>
        </form>
    </div>
</div>