<script type="text/ng-template" id="bookings/modals/dedicated-time.html">
<form name="dedicated-time" ng-submit="submit()" class='form-horizontal'>
	<div class="modal-header">
		<button type="button" class="close" ng-click="cancel()" aria-hidden="true">×</button>
		<h3>Time dedicated to this task</h3>
	</div>
	<div class="modal-body">
		<div>
			Pleas add the estimated time dedicated to do this repair: </strong>
		</div>
		<div>
			<br>
		   <div class="control-group">
				<label class="control-label" for="attendedTime">Attended Time:</label>
				<div class="controls">
					<input type="text" id="attendedTime" data-ng-model="data.attended_time" class="input-small" required>
					<span > ex: (3d 2h 40m)</span>
					<div class='text-danger' ng-if=" ! helper.valid_attended" >Invalid format</div>
				</div>

			</div>

			<div class="control-group">
				<label class="control-label" for="unattendedTime">Unattended Time:</label>
				<div class="controls">
					<input type="text" id="unattendedTime" data-ng-model="data.unattended_time" class="input-small" required>
					<span > ex: (3d 2h 40m)</span>
					<div class='text-danger' ng-if=" ! helper.valid_unattended" >Invalid format</div>
				</div>
			</div>

		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary">Update job</button>
	</div>
</form>
</script>
