Хэрэглэгч

Засах

{{ Form::open(['method' => 'put', 'url' => '/admin/users/' . $item->id, 'files' => true]) }}
{{ Form::label('lang_id', 'Хэл') }} {{ $errors->has('lang_id') ? $errors->first('lang_id') : '' }}
{{ Form::label('firstname', 'Өөрийн нэр') }} {{ Form::text('firstname', $item->firstname, ['class' => 'form-control', 'placeholder' => 'Өөрийн нэр']) }} {{ $errors->has('firstname') ? $errors->first('firstname') : '' }}
{{ Form::label('lastname', 'Овог') }} {{ Form::text('lastname', $item->lastname, ['class' => 'form-control', 'placeholder' => 'Овог']) }} {{ $errors->has('lastname') ? $errors->first('lastname') : '' }}
{{ Form::label('username', 'Нэвтрэх нэр') }} {{ Form::text('username', $item->username, ['class' => 'form-control', 'placeholder' => 'Нэвтрэх нэр']) }} {{ $errors->has('username') ? $errors->first('username') : '' }}
{{ Form::label('phone', 'Утас') }} {{ Form::text('phone', $item->phone, ['class' => 'form-control', 'placeholder' => 'Утас']) }} {{ $errors->has('phone') ? $errors->first('phone') : '' }}
{{ Form::label('email', 'И-мэйл') }} {{ Form::email('email', $item->email, ['class' => 'form-control', 'placeholder' => 'И-мэйл']) }} {{ $errors->has('email') ? $errors->first('email') : '' }}
{{ Form::label('password', 'Нууц үг') }} {{ Form::password('password', ['class' => 'form-control', 'placeholder' => 'Нууц үг']) }} {{ $errors->has('password') ? $errors->first('password') : '' }}
{{ Form::label('password_confirmation', 'Нууц үгээ дахин оруулна уу') }} {{ Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => 'Нууц үгээ дахин оруулна уу']) }} {{ $errors->has('password_confirmation') ? $errors->first('password_confirmation') : '' }}
{{ Form::submit('Хадгалах', ['class' => 'btn btn-primary']) }}
{{ Form::close() }}