@extends('layouts.app-admin') @section('title', 'User Management') @section('content')
{{trans('admin_default.edit_user')}}
{{trans('admin_default.personal_date_details')}}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
​​​​​​​​​​​​​
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@if ($errors->has('username')) {{ $errors->first('username') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif
{{trans('admin_default.user_permission_in_system')}}
@foreach($modules as $key => $module)
@if($module->can_view) @endif @if($module->can_add) @endif @if($module->can_edit) @endif @if($module->can_delete) @endif
{{-- .form-group --}} @endforeach
@endsection @section('script')