@extends('adminlte::page') @section('title', 'Edit Profile | ' . Config::get('adminlte.title')) @section('content_header')

Profile

@stop @section('content') {{--Show message if any--}} @include('layouts.flash-message')

Update

{{ html()->form('POST', route($data->form_action))->attribute('autocomplete', 'off')->acceptsFiles()->open() }} {{ html()->hidden('id', $data->id)->id('user_id') }}
Name
{{ html()->text('name', $data->name)->class('form-control')->required() }} Your name.
Email
{{ html()->email('email', $data->email)->class('form-control')->required() }} Your email, this email for login.
Password
{{ html()->password('password')->id('password')->class('form-control')->autocomplete('new-password') }} Your password, this password for login. Leave it blank if you don't want to change
{{-- image --}}
Image
{{ html()->file('image')->class('custom-file-input')->accept('image/gif, image/jpeg,image/jpg,image/png')->data('max-width', '800')->data('max-height', '400') }} Please upload the image (Recommended size: 160px × 160px, max 5MB)
{{-- only image has main image, add css class "show" --}}

{{-- delete flag for already uploaded image in the server --}}
{{ html()->form()->close() }}
@stop @section('css') @stop @section('js') @stop