@if ($errors->any())
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
@if (session('success'))
{{ session('success') }}
@endif
@if (session('erro'))
{{ session('erro') }}
@endif
{!! Form::model($materia, [
'url' => routeTenant('materias.update', [$materia->id]),
'enctype' => 'multipart/form-data',
]) !!}
{!! Form::label('setores', 'Setores:') !!}
@include('app.diario.materias._form')
{!! Form::submit('Salvar Materia', ['class' => 'btn btn-primary']) !!}
{!! Form::close() !!}