@push('header_styles') @endpush
@if ($errors->any()) @endif
{{ Form::select('role_id', $roles, @$user->user_roles?->first()->id, ['class' => @$error_class . 'form-control select2', 'id' => 'role_id', 'placeholder' => trans('common.select_one'), 'required']) }} @if ($errors->has('role_id'))

{{ $errors->first('role_id') }}

@endif
@if (!@$user)
@endif
{{--
@php $error_class = $errors->has('name') ? 'parsley-error ' : ''; @endphp *
{{ Form::text('name', null, ['class' => $error_class.'form-control', 'id' => 'name', 'required' => 1]) }} @if ($errors->has('name'))

{{$errors->first('name')}}

@endif
@php $error_class = $errors->has('bn_name') ? 'parsley-error ' : ''; @endphp *
{{ Form::text('bn_name', null, ['class' => $error_class.'form-control', 'id' => 'bn_name', 'required' => 1]) }} @if ($errors->has('bn_name'))

{{$errors->first('bn_name')}}

@endif
@php $error_class = $errors->has('status') ? 'parsley-error ' : ''; @endphp *
{{ Form::radio('status', 'Active',null, ['class' => 'form-check-input', 'id' => 'active', 'required' => 1, 'checked' => 1]) }}
{{ Form::radio('status', 'Inactive',null, ['class' => 'form-check-input', 'id' => 'inactive', 'required' => 1]) }}
@if ($errors->has('status'))

{{$errors->first('status')}}

@endif
--}}
@push('footer_scripts') @endpush