@extends('admin.layout') @section('content')
@if($roles)
Role
Actions
Delete
@foreach($roles as $role)
{{$role->name}}
{{ Form::open(['method' => 'DELETE', 'action'=>['RolesController@destroy', $role->id]]) }} {{ Form::hidden('id', $role->id) }} {{ Form::submit('delete', ['class' => 'mt-1 btn btn-primary']) }} {{ Form::close() }}
@endforeach
@endif
@endsection