@extends('home') @section('title') @lang('site.site_name') @endsection @section('styles') @endsection @section('content') {!! Form::open(array('route' => ['admin.role.update',$role->id],'method' => 'put' ,'files' => true ,'class' => 'form-horizontal','id' => 'form-main')) !!}
@if ($errors->has('display_name')) {{ $errors->first('display_name') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@if ($role->id > 2)
@foreach ($permissions as $permission)
@endforeach
@if ($errors->has('permissions')) {{ $errors->first('permissions') }} @endif
@endif
{!! Form::close() !!} @endsection @section('scripts') @endsection