@extends('layouts.admin') @section('content-title') {{ __('functionaries.Functionaries') }} @endsection @section('content-breadcrumbs') {{ Breadcrumbs::render('admin.functionaries')}} @endsection @section('content')
@if(session()->has('success')) @endif @if(session()->has('deleted')) @endif @foreach($functionaries as $functionary) @endforeach
# {{ __('functionaries.Libelle') }} {{ __('functionaries.Description') }} {{ __('functionaries.Type') }}
{{ $functionary->libelle }} {{ $functionary->description }} {{ $functionary->type }} {{ __('admin.Edit') }} {!!Form::button('')->attrs(['class' => 'btn-sm', 'type' => 'submit','aria-hidden' => "true"])->color('info')!!} @if($id) {!!Form::open()->locale('admin')->put()->route('functionary.delete',['id'=>$id])->attrs(['style'=>'display:inline'])!!} @else {!!Form::open()->locale('admin')->put()->route('functionary.delete.root')->attrs(['style'=>'display:inline'])!!} @endif {!!Form::hidden('id')->value($functionary->id)!!} {!!Form::submit(__('Delete'))->color("danger")!!} {!!Form::close()!!}
{{ $functionaries->links() }}
@endsection