<div class="modal-header">
	<button type="button" class="close" data-ng-click="cancel()">×</button>
	<h3 class="modal-title"><i class="fa fa-calendar"></i> {[{ title }]}</h3>
</div>
<form class="form-horizontal" data-ng-submit="save()">
	<div class="modal-body">
		<div class="form-group">
			<label class="col-sm-3 control-label" for="inputStart">{[{ field_name }]}</label>
			<div class="col-sm-9 form-inline">
				<input type="text" id="inputStart" data-ng-model="date.date" class="form-control" data-date-format="dd-mm-yyyy" bs-datepicker required>
				<select ng-options="o for o in times" ng-model="date.time" class="form-control" required></select>
			</div>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-default" data-ng-click="cancel()" eat-click>Close</button>
		<button class="btn btn-primary">Save changes</button>
	</div>
</form>