<div class="modal-header">
    <button type="button" class="close closebtn" data-ng-click="cancel()" aria-hidden="true">&times;</button>
    <h1 class="modal-title">{{'Create Template' | translate}}</h1>
</div>
<div class="modal-body">
    <form>
        <div class="form-group" ng-class="validate ? 'has-error' : ''">
            <label for="name"><strong>{{"Name" | translate}}</strong></label>
            <input type="text" name="name" class="form-control" ng-model="templateName" ng-change="checkName();" />
            <span class="help-block" ng-show="validate">{{"A template by this name already exists." | translate}}</span>
        </div>
    </form>
</div>
<div class="modal-footer">
    <button type="button" class="btn btn-default wiz-btn-padding" ng-click="cancel()">{{'Cancel' | translate}}</button>
    <button type="button" class="btn btn-primary wiz-btn-padding" ng-disabled="disabled" ng-click="save()">{{'Save' | translate}}</button>
</div>