@php( $route= Route::currentRouteName() ) @if($route === 'mostra') @php($readonly = 'readonly' ) @else @php($readonly = '') @endif

@if($route === 'oggetti.create.{tipopost}') Crea una nuova attività @elseif($route === 'oggetti.edit') Modifica attività{{$oggetto->id}} @elseif($route === 'mostra') Mostra attività {{$oggetto->id}} @endif


@include('oggetti.activities.datiprincipali')
@include('oggetti.activities.gestione')