@extends('themes.base.layout') @section('title', trans('admin.edit_user_title', ['name' => $user->name])) @section('breadcrumb') @endsection @section('content')

@yield('title')

@lang('admin.edit_user_intro')


{{ csrf_field() }} {{ method_field('PUT') }}
{{-- Nav tabs --}} {{-- Tab panes --}}
{{-- Details --}}
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if ($errors->has('password'))
{{ $errors->first('password') }}
@endif
@if ($errors->has('password_confirmation'))
{{ $errors->first('password_confirmation') }}
@endif
@if (!$user->is_activated)
@endif
{{-- Groups --}}
@if ($groups->count() > 0)

@lang('admin.user_groups_list_select', ['name' => $user->name])

@foreach ($groups as $group)
@endforeach @else @endif
@lang('forms.cancel_action')
@endsection