+ {{ Form::open(['url' => route('users.update', $user), 'method' => 'PATCH', 'class' => '']) }}
+
+
+ {{ Form::label('name', 'Логин') }}
+
+
+ {{ Form::text('name', $user->name, ['class' => 'form-control']) }}
+
+
+ @if ($errors->any())
+ {{ $errors->first('name') }}
+ @endif
+
+
+
+ {{ Form::label('email', 'электронная почта') }}
+
+
+ {{ Form::text('email', $user->email, ['class' => 'form-control']) }}
+
+
+ @if ($errors->any())
+ {{ $errors->first('email') }}
+ @endif
+
+
+
+ {{ Form::label('password', 'Пароль') }}
+
+
+ {{ Form::text('password', '', ['class' => 'form-control']) }}
+
+
+ @if ($errors->any())
+ {{ $errors->first('password') }}
+ @endif
+
+
+
+ {{ Form::submit('изменить', ['class' => 'btn btn-primary']) }}
+
+