@extends('layouts.admin')
@section('content-title')
{{ __('roles.Edit Role') }}
@endsection
@section('content-breadcrumbs')
@endsection
@section('content')
{!!Form::open()->locale('roles')->put()->route('admin.role.update')->fill($role)!!}
{!!Form::hidden('id')!!}
{!!Form::text('name', 'Name')->placeholder(__('roles.Role name ...'))!!}
{!!Form::textarea('description', 'Description')->placeholder(__('roles.Role description ...'))!!}
{!!Form::select('permissions[]', 'Permissions', $permissions)->multiple()->placeholder(__('roles.Role permissions ...'))->value($role_permissions)!!}
{!!Form::submit('Update')->id('my-btn')!!}
{!!Form::close()!!}
@endsection