<div class="form-group">
	<label class="col-sm-3 control-label label-required">Name:</label>
	<div class="col-sm-9">
		<input type="text" name="name" value="{{ old('name', $status->name ?? '') }}" class="form-control" required>
	</div>
</div>
<div class="form-group">
	<label class="col-sm-3 control-label label-required">Applies to:</label>
	<div class="col-sm-9">
		<select name="for" class="form-control" required>
			<option value="">Select Type</option>
			@foreach(\App\Models\Status::getFor() as $value => $label)
				<option value="{{ $value }}" {{ old('for', $status->for ?? '') == $value ? 'selected' : '' }}>{{ $label }}</option>
			@endforeach
		</select>
	</div>
</div>
<div class="form-group">
	<label class="col-sm-3 control-label">Marks status as <em>Private</em>:</label>
	<div class="col-sm-9">
		<div class="checkbox">
			<label>
				<input type="checkbox" name="private" value="1" {{ old('private', $status->private ?? false) ? 'checked' : '' }}>
			</label>
		</div>
	</div>
</div>
<div class="form-group">
	<label class="col-sm-3 control-label">Marks task as <em>Completed</em>:</label>
	<div class="col-sm-9">
		<div class="checkbox">
			<label>
				<input type="checkbox" name="completed" value="1" {{ old('completed', $status->completed ?? false) ? 'checked' : '' }}>
			</label>
		</div>
	</div>
</div>
<div class="form-group">
	<label class="col-sm-3 control-label">Exclude status from notifications:</label>
	<div class="col-sm-9">
		<div class="checkbox">
			<label>
				<input type="checkbox" name="exclude_notifications" value="1" {{ old('exclude_notifications', $status->exclude_notifications ?? false) ? 'checked' : '' }}>
			</label>
		</div>
	</div>
</div>