@extends('layouts.digitar') @section('Breadcrumbs') {!! Breadcrumbs::render('lawsProjects.new') !!} @endsection @section('content')
@include('common.errors')

Anexos - @if(!$lawsProject->law_type) {{ $lawsProject->law_type_id }} @else {!! mb_strtoupper($lawsProject->law_type->name, 'UTF-8') !!} @endif {!! $lawsProject->project_number . '/' . $lawsProject->getYearLawPublish($lawsProject->law_date) !!} Voltar


@include('flash::message') @shield('lawsProjects.upload') {!! Form::open(['route' => ['lawsProjects.attachament.upload', $lawsProject->id], 'method' => 'post', 'files' => 'true']) !!} {!! Form::file('file[]', array('multiple'=>true, 'class' => 'file')) !!} {!! Form::close() !!}
@endshield

Anexos:

@if($law_files->isEmpty())
Sem dados. Insira um novo registro.
@else @foreach($law_files as $file) @endforeach @endif
{{ $file->filename }} Download @shield('lawsProjects.upload') {{--@if(Auth::user()->id == $file->owner->id)--}} Excluir {{--@endif--}} @endshield
@endsection