@extends('layouts.admin') @section('content') @push('css') @endpush
Role List
@if(count($roles)>0) @foreach($roles as $key => $role) @endforeach @endif
Sl. Name Action
{{ ++$key }} {{ $role->name }}
{{ csrf_field() }}
@if($edit)
Role Edit
@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
Cancel
@else
Role Add
@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@endif
@push('alljs') @endpush @endsection