@extends(layoutTenant()) @section('content')

Lista de Secretarias

{!! Form::open(['url'=>routeTenant('secretarias.buscar'), 'class'=>'form form-inline','style'=>'height:40px;width: 100%;']) !!} {!! Form::text('buscar', null, ['class'=>'form-control','style'=>'height:40px;width: 70%;']) !!} {!! Form::submit('buscar', ['class'=>'btn btn-primary btn-outline-success ']) !!} {!! Form::close() !!}
Secretarias
@foreach($categories as $category) @endforeach
Titulo Responsável Data Funções
{{ $category->titulo}}
{{$category->resposavel}} {{ date('d/m/Y' ,strtotime($category->created_at))}}
{!! $categories->links() !!}
@endsection @section('post-script') @endsection