service-captcha/app/application/resources/views/private/users/edit.blade.php

35 lines
1.3 KiB
PHP
Raw Permalink Normal View History

2023-08-01 22:04:35 +06:00
@section('meta_title', __('sections.Users'))
@section('h1', __('sections.Users'))
<x-private.layout>
@include('private.users._top')
<div class="row">
<div class="col-12 mb-4">
<div class="card border-0 shadow components-section">
<div class="card-body">
<form method="post" action="{{ route('users.update', $user) }}">
@method('PUT')
@include('private.users._from')
</form>
</div>
</div>
</div>
</div>
@can('update', $user)
<div class="row">
<div class="col-12 mb-4">
<div class="card border-0 shadow components-section">
<div class="card-body">
<form method="post" action="{{ route('users.update-password', $user) }}">
@method('PUT')
@csrf
<x-private.forms.input :title="__('validation.attributes.password')" name="password" type="password" value="" required autocomplete="off" />
<button class="btn btn-primary" type="submit">{{ __('Save') }}</button>
</form>
</div>
</div>
</div>
</div>
@endcan
</x-private.layout>