@extends('panel.layouts.superadmin.app') @section('page-title') {{ LaraCore::setting('html_prefix') }} {{ (LaraCore::setting('html_prefix') != '') ? '|' : '' }} Profile @stop @section('content')

Profile

@include('common.success')
{{ Form::open([ 'method' => 'PUT', 'url' => route('superadmin-profile.update', ['id' => @$user->id]),'enctype' => 'multipart/form-data' ]) }}
{{ Form::text( 'username',@$user->username, [ 'id' => 'username', 'class' => 'form-control', ]) }} @if ($errors->has('username')) {{ $errors->first('username') }} @endif
{{ Form::text( 'email',@$user->email, [ 'id' => 'email', 'class' => 'form-control', ]) }} @if ($errors->has('email')) {{ $errors->first('email') }} @endif
{{ Form::text( 'firstname',@$user_meta->firstname, [ 'id' => 'firstname', 'class' => 'form-control', ]) }} @if ($errors->has('firstname')) {{ $errors->first('firstname') }} @endif
{{ Form::text( 'lastname',@$user_meta->lastname, [ 'id' => 'lastname', 'class' => 'form-control', ]) }} @if ($errors->has('lastname')) {{ $errors->first('lastname') }} @endif

Only jpeg, jpg, png files are allowed.

{{ Form::select( 'status', array('1'=>'Active', '0'=>'Inactive'), @$user->status, [ 'id' => 'organization_name', 'class' => 'form-control', ]) }}
{{ Form::close() }}
@include('panel.security.change_password')
@stop @section('custom-scripts') @append