@extends('layouts.master') @section('content')
@if ($step === 1) @lang('descriptions.monothema-music.crud') @elseif ($step === 2) @lang('descriptions.monothema-music.request-approval') @endif
@if ($step === 1) @php $selected_album = 0; if (isset($mt_music) && isset($mt_music->album)) { $selected_album = $mt_music->album; } @endphp
@foreach ($albums as $album_id => $album_name) @php if (Helper::createMode()) { $step2_URL = route('monothema-music.create.step-2'); } elseif (Helper::editMode()) { $step2_URL = route('monothema-music.edit.step-2', $mt_music->id); } @endphp @if ($selected_album === $album_id)
@endif
@endforeach
@elseif ($step === 2) @if (Helper::createMode()) @if (isset($mt_music))
@else @endif @elseif (Helper::editMode()) @endif @csrf
@include ('partials.approvers')
@include ('partials.simple_action_btns')
@endif
@endsection @section('back_button') @if ($step === 1) Zurück @elseif ($step === 2) @if (Helper::createMode()) Zurück @elseif (Helper::editMode()) Zurück @endif @endif @endsection