Public Access
Designanpassungen bewerbungsstatusFormunla
This commit is contained in:
1 parent
c3972a92ac
commit
20558065ad
1 file changed
+22
-22
@@ -14,26 +14,7 @@
|
||||
<label for="text" class="mb-2">Bewerbungstext*</label>
|
||||
<textarea name="text" id="text" class="form-control mb-3" rows="6" required>{{ old('text', $bewerbung->text ?? '') }}</textarea>
|
||||
|
||||
<div class="form-check form-switch mb-3">
|
||||
<input class="form-check-input" type="checkbox" role="switch" id="active" name="active" {{ old('active', $bewerbung->active ?? false) ? 'checked' : '' }}>
|
||||
<label class="form-check-label" for="active">Aktiv</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check form-switch mb-3">
|
||||
<input class="form-check-input" type="checkbox" role="switch" id="time" name="time" {{ old('time', $bewerbung->time ?? false) ? 'checked' : '' }}>
|
||||
<label class="form-check-label" for="time">Mit Zeitraum</label>
|
||||
</div>
|
||||
|
||||
<div class="row g-2">
|
||||
<div class="col">
|
||||
<label class="mb-2" for="start_at">Start</label>
|
||||
<input type="datetime-local" id="start_at" name="start_at" class="form-control mb-3" value="{{ old('start_at', isset($bewerbung->start_at) ? $bewerbung->start_at->format('Y-m-d\TH:i') : '') }}">
|
||||
</div>
|
||||
<div class="col">
|
||||
<label class="mb-2" for="end_at">Ende</label>
|
||||
<input type="datetime-local" id="end_at" name="end_at" class="form-control mb-3" value="{{ old('end_at', isset($bewerbung->end_at) ? $bewerbung->end_at->format('Y-m-d\TH:i') : '') }}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 mt-3">
|
||||
@@ -48,9 +29,28 @@
|
||||
@isset($bewerbung->bedingungen_path)
|
||||
<p>Aktuell: <a href="{{ Storage::url($bewerbung->bedingungen_path) }}" target="_blank">PDF ansehen</a></p>
|
||||
@endisset
|
||||
|
||||
<div class="form-check form-switch mb-3">
|
||||
<input class="form-check-input" type="checkbox" role="switch" id="active" name="active" {{ old('active', $bewerbung->active ?? true) ? 'checked' : '' }}>
|
||||
<label class="form-check-label" for="active">Aktiv</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check form-switch mb-3">
|
||||
<input class="form-check-input" type="checkbox" role="switch" id="time" name="time" {{ old('time', $bewerbung->time ?? false) ? 'checked' : '' }}>
|
||||
<label class="form-check-label" for="time">Mit Zeitraum</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-2">
|
||||
<div class="col-md-6 mt-3">
|
||||
<label class="mb-2" for="start_at">Start</label>
|
||||
<input type="datetime-local" id="start_at" name="start_at" class="form-control mb-3" value="{{ old('start_at', isset($bewerbung->start_at) ? $bewerbung->start_at->format('Y-m-d\TH:i') : '') }}">
|
||||
</div>
|
||||
<div class="col-md-6 mt-3">
|
||||
<label class="mb-2" for="end_at">Ende</label>
|
||||
<input type="datetime-local" id="end_at" name="end_at" class="form-control mb-3" value="{{ old('end_at', isset($bewerbung->end_at) ? $bewerbung->end_at->format('Y-m-d\TH:i') : '') }}">
|
||||
</div>
|
||||
</div>
|
||||
@if ($errors->any())
|
||||
<div class="alert alert-danger mt-3">
|
||||
<ul class="mb-0">
|
||||
@@ -61,7 +61,7 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="mt-3">
|
||||
<div class="mt-3 mb-3">
|
||||
<a href="{{ route('bewerbungen.index') }}" class="btn btn-outline-secondary">Abbrechen</a>
|
||||
<button class="btn btn-primary">Speichern</button>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user