<div class="modal-header">
	<button type="button" class="close" data-ng-click="cancel()">×</button>
	<h3>Delete this status</h3>
</div>
<form data-ng-submit="submit()" ng-init="statuses = {{ \App\Models\Status::all() }}">
	<div class="modal-body">
		<p><i class="fa fa-exclamation-triangle"></i> You will have to replace the existing status with another one.</p>
		<div class="control-group">
			<label class="control-label" for="inputStart">Replace existing statuses with:</label>
			<div class="controls">
				<select ng-options="o.id as o.name group by o.for for o in statuses" ng-model="data.status_id" required></select>
			</div>
		</div>
	</div>
	<div class="modal-footer">
		<span class="btn" data-ng-click="cancel()" eat-click>Close</span>
		<button class="btn btn-danger" ng-disabled="!data.status_id">Delete</button>
	</div>
</form>