Files
bandtoolv2/resources/views/bewerbung/forminactive.blade.php
T
2025-10-28 23:10:13 +01:00

40 lines
1.4 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@extends('template')
@section('title', 'Bewerbung anzeigen')
@section('content')
<div class="container mt-4">
@if(session('success'))
<div class="alert alert-success">{{ session('success') }}</div>
@endif
<div class="d-flex justify-content-between align-items-center mb-3">
<h1 class="h3 mb-0">{{ $bewerbung->name }} Form</h1>
<div>
<a href="{{ route('bewerbungen.edit', $bewerbung->id) }}" class="btn btn-sm btn-primary">Bearbeiten</a>
<a href="{{ route('bewerbungen.index') }}" class="btn btn-sm btn-outline-secondary">Zur Liste</a>
</div>
</div>
<p><strong>Aktiv:</strong> {{ $bewerbung->active ? 'Ja' : 'Nein' }}</p>
<p><strong>Zeitraum:</strong>
@if($bewerbung->start_at) {{ $bewerbung->start_at->format('d.m.Y H:i') }} @endif
@if($bewerbung->end_at) – {{ $bewerbung->end_at->format('d.m.Y H:i') }} @endif
</p>
@if($bewerbung->pic_path)
<p><strong>Bild:</strong> <br>
<img src="{{ Storage::url($bewerbung->pic_path) }}" alt="" style="max-height:180px"></p>
@endif
//Ab Hier Bewerbungsformular inaktiv
<div class="col-md-3">&nbsp;</div><div id="head" class="col-md-6">&nbsp;</div>
<div class="col-md-12"><div class="col-md-3">&nbsp;</div><div class="col-md-4 col-lg-4">
<p>Diese Bewerbung ist Inaktiv</p>
</div><div class="col-md-3">&nbsp;</div></div>
</div>
@endsection