File "5440551337631c90e48554fa4d7b8f84f777cfde.php"
Full Path: /home/fundopuh/trader.fxex.org/storage/framework/views/5440551337631c90e48554fa4d7b8f84f777cfde.php
File size: 5.98 KB
MIME-type: text/x-php
Charset: utf-8
<?php $__env->startSection('content'); ?>
<div class="mt-2 mb-4">
<h1 class="title1 ">Add New Manager</h1>
</div>
<?php if (isset($component)) { $__componentOriginal431821226313d25f12c6b9e5d4f97b7033ed596e = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\Admin\Alert::class, []); ?>
<?php $component->withName('admin.alert'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal431821226313d25f12c6b9e5d4f97b7033ed596e)): ?>
<?php $component = $__componentOriginal431821226313d25f12c6b9e5d4f97b7033ed596e; ?>
<?php unset($__componentOriginal431821226313d25f12c6b9e5d4f97b7033ed596e); ?>
<?php endif; ?>
<div class="mb-5 row">
<div class="col-lg-8 offset-lg-2 card p-3 shadow">
<form method="POST" action="<?php echo e(url('admin/dashboard/saveadmin')); ?>">
<?php echo e(csrf_field()); ?>
<div class="form-group<?php echo e($errors->has('name') ? ' has-error' : ''); ?>">
<h4 class="">First Name</h4>
<div>
<input id="name" type="text" class="form-control " name="fname" value="<?php echo e(old('fname')); ?>"
required>
<?php if($errors->has('fname')): ?>
<span class="help-block">
<strong><?php echo e($errors->first('fname')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
<div class="form-group<?php echo e($errors->has('l_name') ? ' has-error' : ''); ?>">
<h4 class="">Last Name</h4>
<div>
<input id="name" type="text" class="form-control " name="l_name"
value="<?php echo e(old('l_name')); ?>" required>
<?php if($errors->has('l_name')): ?>
<span class="help-block">
<strong><?php echo e($errors->first('l_name')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
<div class="form-group<?php echo e($errors->has('email') ? ' has-error' : ''); ?>">
<h4 class="">E-Mail Address</h4>
<div>
<input id="email" type="email" class="form-control " name="email"
value="<?php echo e(old('email')); ?>" required>
<?php if($errors->has('email')): ?>
<span class="help-block">
<strong><?php echo e($errors->first('email')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
<div class="form-group<?php echo e($errors->has('email') ? ' has-error' : ''); ?>">
<h4 class="">Phone number</h4>
<div>
<input id="phone" type="number" class="form-control " name="phone"
value="<?php echo e(old('phone')); ?>" required>
<?php if($errors->has('phone')): ?>
<span class="help-block">
<strong><?php echo e($errors->first('phone')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
<div class="form-group">
<h4 class="">Type</h4>
<select class="form-control " name="type">
<option>Super Admin</option>
<option>Admin</option>
<option>Conversion Agent</option>
</select><br>
</div>
<div class="form-group<?php echo e($errors->has('password') ? ' has-error' : ''); ?>">
<h4 class="">Password</h4>
<div>
<input id="password" type="password" class="form-control " name="password" required>
<?php if($errors->has('password')): ?>
<span class="help-block">
<strong><?php echo e($errors->first('password')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
<div class="form-group<?php echo e($errors->has('password_confirmation') ? ' has-error' : ''); ?>">
<h4 class="">Confirm Password</h4>
<div>
<input id="password-confirm" type="password" class="form-control " name="password_confirmation"
required>
<?php if($errors->has('password_confirmation')): ?>
<span class="help-block">
<strong><?php echo e($errors->first('password_confirmation')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
<div class="form-group">
<div>
<button type="submit" class="px-3 btn btn-primary btn-lg">
<i class="fa fa-plus"></i> Save User
</button>
</div>
</div>
</form>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/fundopuh/trader.fxex.org/resources/views/admin/addadmin.blade.php ENDPATH**/ ?>