<script type="text/ng-template" id="bookings/modals/cancelled-reason.html">
<form name="reasonForm" ng-submit="submit()">
	<div class="modal-header">
		<button type="button" class="close" ng-click="cancel()" aria-hidden="true">×</button>
		<h3 class="modal-title">Task cancelled</h3>
	</div>
	<div class="modal-body">
		<div class="alert alert-danger">
			Please give a reason why this task is being cancelled.
		</div>
		<div class="form-group">
			<textarea id="reasonTextarea" required class="form-control" rows="4" name="reason" ng-model="data.reason" placeholder="Enter the reason why the task is being cancelled here..." ></textarea>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary">Update job</button>
	</div>
</form>
</script>