@extends('layouts.master') @section('content')
{{ __('Name') }} | {{ __('Description') }} | {{ __('Action') }} |
---|---|---|
{{$role->display_name}} | {{Str_limit($role->description, 50)}} | {!! Form::open([ 'method' => 'DELETE', 'route' => ['roles.destroy', $role->id] ]); !!} @if($role->id !== 1) {!! Form::submit(__('Delete'), ['class' => 'btn btn-danger', 'onclick' => 'return confirm("Are you sure?")']); !!} @endif {!! Form::close(); !!} |