@extends('layouts.master') @section('content')
@if ($step === 1) @lang('descriptions.exposes.crud') @elseif ($step === 2) @lang('descriptions.exposes.request-approval') @endif
@if (isset($expose)) {!! Form::open(['route' => ['exposes.update', $expose->id], 'class' => 'exposes-form', 'enctype' => 'multipart/form-data', 'accept-charset' => 'UTF-8']) !!} @else {!! Form::open(['route' => 'exposes.store', 'class' => 'exposes-form', 'enctype' => 'multipart/form-data', 'accept-charset' => 'UTF-8']) !!} @endif
@if ($step === 1) {!! Form::hidden('step', 1) !!} {!! Form::checkbox('go-to-preview', 1, null, ['id' => 'go-to-preview', 'class' => 'hidden']) !!}
@for ($i=1;$i<=2;$i++)
picture_as_pdf
PDF hochladen
@endfor
@elseif ($step === 2) {!! Form::hidden('step', 2) !!} {!! Form::checkbox('approval', 1, null, ['id' => 'approval', 'class' => 'hidden']) !!}
Wer soll den Inhalt freigeben?
{!! Form::select('approver', $approvers, null, ['class' => 'form-control']) !!}
Ergänzende Hinweise (optional)
{!! Form::text('remark', null, ['class' => 'form-control']) !!}
@endif
@include ('partials.action_btns') {!! Form::close() !!}
@if (isset($expose)) {!! Helper::setExposeFiles($expose) !!} @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