<md-dialog aria-label="Role Template" style="width:520px;height:440px;">
<form ng-cloak name="myForm">
	<md-toolbar>
	<div class="md-toolbar-tools"
		style="background: cadetblue;">
		<h2>{{templateTitle}} Project</h2>
		<span flex></span>
		<md-button class="md-icon-button" ng-click="cancel()"> <i
			class="fa fa-times fa-2x"
			style="margin-top: 5px; font-size: 1.5em; float: left"></i> </md-button>
	</div>
	</md-toolbar>

	<md-dialog-content>
	<div class="md-dialog-content">
		<div class="form-group">
			<input type="text" class="form-control" id="projectId" name="projectId"
				ng-model="projectId" placeholder="Project Id" ng-blur="" ng-disabled="isDisabled"/> <br>
			<input type="text" class="form-control" id="projectName" name="projectName"
				ng-model="projectName" placeholder="Project Name" /><br>
				<md-select ng-model="managerModel" md-selected-text="getManagers()"  >
			<md-optgroup label="managers"> <md-option ng-value="manager"
				ng-repeat="manager in managerDetails">{{manager.employeeName}}</md-option> </md-optgroup> </md-select>
				<md-select ng-model="projectStatus" md-selected-text="getProjectStatus()" id="projectStatus">
			<md-optgroup label="projectStatus"> <md-option ng-value="prjctSts"
				ng-repeat="prjctSts in prjctStses">{{prjctSts}}</md-option> </md-optgroup> </md-select>
				<div role="alert">
				<span class="error" style="color: red;">{{alertMsg}}</span>
			</div>
		</div>
	</div>
	</md-dialog-content>

	<md-dialog-actions layout="row"> <md-button
		class="md-raised" data-ng-click="validateFields()" style="width:120px;background: cadetblue;color:white;">
	{{templateTitle}} </md-button> <md-button class="md-raised" ng-click="cancel()" style="width:120px;background: cadetblue;color:white;">
	Cancel </md-button> </md-dialog-actions>
</form>
</md-dialog>
