@if (Auth::user()->isSuperAdmin())
{{ trans('app.super_admin') }}
@else
{{ Auth::user()->role->name }}
@endif
{{ trans('app.member_since') . ' ' . Auth::user()->created_at->diffForHumans() }}
{!! Form::model($profile, ['method' => 'PUT', 'route' => ['admin.account.update'], 'files' => true, 'id' => 'form', 'data-toggle' => 'validator']) !!}
{!! Form::label('nice_name', trans('app.form.nice_name')) !!}
{!! Form::text('nice_name', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.nice_name')]) !!}
{!! Form::label('role', trans('app.form.role')) !!}
{!! Form::text('role', $profile->role->name, ['class' => 'form-control', 'disabled' => 'disabled']) !!}
{!! Form::label('sex', trans('app.form.sex')) !!}
{!! Form::select('sex', ['app.male' => trans('app.male'), 'app.female' => trans('app.female'), 'app.other' => trans('app.other')], null, ['class' => 'form-control select2-normal', 'placeholder' => trans('app.placeholder.sex')]) !!}
{!! Form::label('description', trans('app.form.biography')) !!}
{!! Form::textarea('description', null, ['class' => 'form-control summernote-without-toolbar', 'rows' => '2', 'placeholder' => trans('app.placeholder.biography')]) !!}
{!! Form::submit(trans('app.update'), ['class' => 'btn btn-flat btn-new']) !!}
{!! Form::close() !!}