first upload all files
This commit is contained in:
18
Modules/User/Resources/views/admin/profile/edit.blade.php
Normal file
18
Modules/User/Resources/views/admin/profile/edit.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
@extends('admin::layout')
|
||||
|
||||
@section('title', trans('admin::resource.edit', ['resource' => trans('user::users.profile')]))
|
||||
|
||||
@component('admin::components.page.header')
|
||||
@slot('title', trans('admin::resource.edit', ['resource' => trans('user::users.profile')]))
|
||||
|
||||
<li class="active">{{ trans('admin::resource.edit', ['resource' => trans('user::users.profile')]) }}</li>
|
||||
@endcomponent
|
||||
|
||||
@section('content')
|
||||
<form method="POST" action="{{ route('admin.profile.update') }}" class="form-horizontal" id="profile-form" novalidate>
|
||||
{{ csrf_field() }}
|
||||
{{ method_field('put') }}
|
||||
|
||||
{!! $tabs->render() !!}
|
||||
</form>
|
||||
@endsection
|
||||
@@ -0,0 +1,7 @@
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
{{ Form::text('first_name', trans('user::attributes.users.first_name'), $errors, $currentUser, ['required' => true]) }}
|
||||
{{ Form::text('last_name', trans('user::attributes.users.last_name'), $errors, $currentUser, ['required' => true]) }}
|
||||
{{ Form::email('email', trans('user::attributes.users.email'), $errors, $currentUser, ['required' => true]) }}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,6 @@
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
{{ Form::password('password', trans('user::attributes.users.new_password'), $errors) }}
|
||||
{{ Form::password('password_confirmation', trans('user::attributes.users.confirm_new_password'), $errors) }}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user