{!! Form::label('name',trans('messages.role_name'),[])!!} @if(isset($role->name)) @if($role->name=='organisation') {!! Form::input('text','name',isset($role->name) ? $role->name : '',['readonly'=>'readonly','class'=>'form-control','placeholder'=>trans('messages.role_name')])!!} @else {!! Form::input('text','name',isset($role->name) ? $role->name : '',['class'=>'form-control','placeholder'=>trans('messages.role_name')])!!} @endif @else {!! Form::input('text','name',isset($role->name) ? $role->name : '',['class'=>'form-control','placeholder'=>trans('messages.role_name')])!!} @endif
@if(isset($role) && $role->is_default)
{{trans('messages.user').' '.trans('messages.default')}}
@else
@endif {!! Form::submit(isset($buttonText) ? $buttonText : trans('messages.save'),['class' => 'btn btn-primary','style'=>$style]) !!}