@extends('Admin/layout/master') @section('title','Role Edit') @section('content')
Role Update
{!! Form::open(['route' => ['role.update',$role->id], 'method' => 'post']) !!}
{!! Form::label('Role', 'Role', ['class' => 'form-label']) !!} {!! Form::text('name', $role->name, ['class' => 'form-control', 'placeholder' => 'Enter Role']) !!} @error('name') {{ $message }} @enderror
{{-- {!! Form::label('permission', 'Role', ['class' => 'form-label']) !!} --}} {{-- {!! Form::select('permission_id[]',$permissions, null, ['class'=>'form-control','multiple']) !!} --}} {{--
--}} {{--
--}}
{!! Form::submit('Update', ['class' => 'btn btn-primary btn-sm my-2']) !!} Back
{!! Form::close() !!}
@endsection