<div class="projectspace">
    <div>
        <form class="form position-relative" 
              role="form" 
              name="form" 
              ng-show="settingsField.type !== ''">
            <!-- Buttons -->
            <div class="saveConfigurationButton abs-position">
                <button class="btn btn-primary"
                        ng-disabled="saving || deleting"
                        ng-click="saveCourseType(selectedTemplate)">
                    {{saving ? 'Saving' : 'Save configuration' | translate}}
                </button>
            </div>
           
            <div class="panel panel-default lt-module-page__content-panel">
                <div class="panel-heading">{{'Course type' | translate}}: {{sitetype.name}}</div>
                <div class="panel-body">
                    <div class="form-group">
                        <label>{{'Name' | translate}}</label>
                        <input type="text" class="form-control" ng-disabled="saving || deleting" ng-model="sitetypeTemp.name">
                    </div>
                    <button class="btn btn-warning pull-right"
                            ng-disabled="saving || deleting"
                            ng-click="deleteCourseType()"
                            ng-confirm-click="Are you sure to delete this?">
                        {{deleting ? 'Deleting' : 'Delete course type' | translate}}
                    </button>
                </div>
            </div>
        </form>
    </div>
</div>

