82 lines
3.4 KiB
PHP
82 lines
3.4 KiB
PHP
|
<?php $__env->startSection('main_content'); ?>
|
||
|
<h1><?php echo e($user[0]->name); ?></h1>
|
||
|
<img style="width:120px;border-radius:60px 30px"src="<?php echo e(asset('images/profilePics' .'/' . $user[0]->profilepic)); ?>" alt="">
|
||
|
<form method="post" action="<?php echo e(url('cms/cms.cms-userInfo'.'/' . $user[0]->id)); ?>" class="content-block">
|
||
|
<?php echo e(csrf_field()); ?>
|
||
|
|
||
|
<div class="row">
|
||
|
<div class="col-sm-6">
|
||
|
<div class="form-group">
|
||
|
<label for="firstname" class="form-label">Firstname</label>
|
||
|
<input name="name" value="<?php echo e($user[0]->{'name'}); ?>" id="firstname" type="text" class="form-control">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-sm-6">
|
||
|
<div class="form-group">
|
||
|
<label for="lastname" class="form-label">Lastname</label>
|
||
|
<input name="last_name" value="<?php echo e($user[0]->{'last_name'}); ?>" id="lastname" type="text" class="form-control">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- /.row-->
|
||
|
<div class="row">
|
||
|
<div class="col-sm-6">
|
||
|
<div class="form-group">
|
||
|
<label for="Street_Number" class="form-label">Street Number</label>
|
||
|
<input name="streetNum" value="<?php echo e($user[0]->{'streetNum'}); ?>" id="Street_Number" type="text" class="form-control">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-sm-6">
|
||
|
<div class="form-group">
|
||
|
<label for="street" class="form-label">Street</label>
|
||
|
<input name="street" value="<?php echo e($user[0]->{'street'}); ?>" id="street" type="text" class="form-control">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- /.row-->
|
||
|
<div class="row">
|
||
|
<div class="col-sm-6 col-md-3">
|
||
|
<div class="form-group">
|
||
|
<label for="city" class="form-label">City</label>
|
||
|
<input name="city" value="<?php echo e($user[0]->{'city'}); ?>" id="city" type="text" class="form-control">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-sm-6 col-md-3">
|
||
|
<div class="form-group">
|
||
|
<label for="zip" class="form-label">ZIP</label>
|
||
|
<input name="ZIP" value="<?php echo e($user[0]->{'ZIP'}); ?>" id="zip" type="text" class="form-control">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-sm-6 col-md-3">
|
||
|
<div class="form-group">
|
||
|
<label for="state" class="form-label">State</label>
|
||
|
<input name="state" value="<?php echo e($user[0]->{'State'}); ?>" id="state" type="text" class="form-control">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-sm-6 col-md-3">
|
||
|
<div class="form-group">
|
||
|
<label for="country" class="form-label">Country</label>
|
||
|
<input name="country" value="<?php echo e($user[0]->{'country'}); ?>" id="country" type="text" class="form-control">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-sm-6">
|
||
|
<div class="form-group">
|
||
|
<label for="phone" class="form-label">Telephone</label>
|
||
|
<input name="phone" value="<?php echo e($user[0]->{'phone'}); ?>" id="phone" type="text" class="form-control">
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="col-sm-12 text-center">
|
||
|
<button name"submit" type="submit" class="btn btn-primary">
|
||
|
<i class="fa fa-save">
|
||
|
Save Changes
|
||
|
</i>
|
||
|
</boutton>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
|
||
|
<?php $__env->stopSection(); ?>
|
||
|
|
||
|
<?php echo $__env->make('cms.cms-master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
|