Public Access
49 lines
3.2 KiB
PHP
49 lines
3.2 KiB
PHP
@extends('template')
|
|
|
|
@section('title', 'Bewerbung erstellen')
|
|
@section('content')
|
|
<div class="formgroup">
|
|
<form action="{{ route('bewerbung.store') }}" method="post" enctype="multipart/form-data" novalidate>
|
|
@csrf
|
|
<div class="row">
|
|
<div class="col-md-6 mt-3">
|
|
<label for="name" class="mb-2">Bewerbungsname: </label>
|
|
<input type="text" id="name" name="name" class="form-control mb-3" required>
|
|
<label for="text" class="mb-2">Bewerbungstext: </label>
|
|
<textarea name="text" id="text" placeholder="Text ...." class="form-control mb-3" required></textarea>
|
|
</div>
|
|
<div class="col-md-6 mt-3">
|
|
<label for="pic" class="mb-2">Bewerbungs Bild: </label>
|
|
<input type="file" id="pic" name="pic" class="form-control mb-3" accept="image/jpeg,image/png">
|
|
<label for="bedingungen" class="mb-2">Bewerbungsbedingungen (pdf): </label>
|
|
<input type="file" id="bedingungen" name="bedingungen" class="form-control mb-3" accept="application/pdf">
|
|
<div class="form-check form-switch">
|
|
<input class="form-check-input" type="checkbox" role="switch" id="active" name="active" checked>
|
|
<label class="form-check-label" for="active">Bewerbung aktivieren</label>
|
|
</div>
|
|
<div class="form-check form-switch">
|
|
<input class="form-check-input" type="checkbox" role="switch" id="time" name="time">
|
|
<label class="form-check-label" for="time">Zeitgesteuerte Bewerbung</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6 mt-3">
|
|
<label class="mb-2">Bewerbungsstart: </label>
|
|
<input type="date" id="sdate" name="sdate" class="form-control mb-3">
|
|
<input type="time" id="stime" name="stime" value="00:00" class="form-control mb-3">
|
|
</div>
|
|
<div class="col-md-6 mt-3">
|
|
<label class="mb-2">Bewerbungsende: </label>
|
|
<input type="date" id="edate" name="edate" class="form-control mb-3">
|
|
<input type="time" id="etime" name="etime" value="00:00" class="form-control mb-3">
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col mt-3">
|
|
<input type="submit" value="Speichern" class="form-control mb-3">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
@endsection |