|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/leadai/leadai.co.in/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('content'); ?>
<!-- begin::main content -->
<main class="main-content">
<div class="container">
<!-- begin::page header -->
<div class="page-header">
<h3>Edit Profile</h3>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Dashboard</a></li>
<li class="breadcrumb-item active" aria-current="page">Profile</li>
</ol>
</nav>
</div>
<!-- end::page header -->
<div class="profile m-b-20 p-30 d-lg-flex align-items-center justify-content-between"
data-backround-image="<?php echo e(!empty($myprofile->profile_pics) ? $myprofile->profile_pics : asset('public/admin/media/image/image1.png')); ?>">
<div class="d-flex align-items-center">
<div>
<figure class="avatar avatar-xl m-r-20">
<img src="<?php echo e(!empty($myprofile->profile_pics) ? $myprofile->profile_pics : asset('public/admin/media/image/avatar.jpg')); ?>"
class="rounded-circle" alt="...">
</figure>
</div>
<div class="text-white">
<div>
<h3>
<?php echo e($myprofile->name); ?>
</h3>
<p class="m-b-0 opacity-8"><?php echo e($myprofile->institute); ?></p>
</div>
</div>
</div>
</div>
<div class="row row-sm">
<div class="col-md-6">
<div class="card">
<div class="card-body">
<?php if (isset($component)) { $__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\FlashMessage::class, []); ?>
<?php $component->withName('flashMessage'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74)): ?>
<?php $component = $__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74; ?>
<?php unset($__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74); ?>
<?php endif; ?>
<h6 class="card-title">Edit Profile</h6>
<form action="<?php echo e(asset('edit-profile/')); ?>" enctype="multipart/form-data" method="post">
<?php echo csrf_field(); ?>
<div class="form-group">
<label for="name">Name</label>
<input type="hidden" value="<?php echo e($myprofile->id); ?>" name="admin_id">
<input type="text" class="form-control" name="name"
value="<?php echo e(!empty($myprofile->name) ? $myprofile->name : ''); ?>" id="name"
placeholder="User Name">
<?php if($errors->has('name')): ?>
<div class="error">
<?php echo e($errors->first('name')); ?>
</div>
<?php endif; ?>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" class="form-control" name="email"
value="<?php echo e(!empty($myprofile->email) ? $myprofile->email : ''); ?>" id="email"
placeholder="Enter Email Name">
<?php if($errors->has('email')): ?>
<div class="error">
<?php echo e($errors->first('email')); ?>
</div>
<?php endif; ?>
</div>
<div class="form-group">
<label for="phone">Mobile</label>
<input type="number" class="form-control" name="mobile"
value="<?php echo e(!empty($myprofile->mobile) ? $myprofile->mobile : ''); ?>" id="phone"
placeholder="Enter Phone">
<?php if($errors->has('phone')): ?>
<div class="error">
<?php echo e($errors->first('mobile')); ?>
</div>
<?php endif; ?>
</div>
<div class="form-group">
<label for="image">Profile image</label>
<input type="file" class="form-control" name="image" id="image">
<?php if($errors->has('image')): ?>
<div class="error">
<?php echo e($errors->first('image')); ?>
</div>
<?php endif; ?>
</div>
<div class="form-group">
<img src="<?php echo e(!empty($myprofile->profile_pics) ? $myprofile->profile_pics : ''); ?>"
alt="" style="width:100px;">
</div>
<button type="submit" class="btn btn-primary">Update</button>
</form>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- end::main content -->
<?php $__env->stopSection(); ?>
<?php $__env->startPush('footer-script'); ?>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/leadai/admin.leadai.co.in/resources/views/superadmin/profile/edit-admin-profile.blade.php ENDPATH**/ ?>