Viewing file: bb7740e147b1821e35ad6081bd1cb64dd5d24523.php (3.03 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<div class="form-group"> <label for="first_name"><?php echo app('translator')->get('admin.form.first_name'); ?></label> <input value="<?php echo e(isset($customer)?$customer->first_name:old('first_name')); ?>" type="text" name="first_name" class="form-control" id="first_name" placeholder="<?php echo app('translator')->get('admin.form.input.first_name'); ?>"> </div> <div class="form-group"> <label for="last_name"><?php echo app('translator')->get('admin.form.last_name'); ?></label> <input value="<?php echo e(isset($customer)?$customer->last_name:old('last_name')); ?>" type="text" name="last_name" class="form-control" id="last_name" placeholder="<?php echo app('translator')->get('admin.form.input.last_name'); ?>"> </div> <div class="form-group"> <label for="email"><?php echo app('translator')->get('admin.form.email'); ?></label> <input value="<?php echo e(isset($customer)?$customer->email:old('email')); ?>" type="email" name="email" class="form-control" id="email" placeholder="<?php echo app('translator')->get('admin.form.input.email'); ?>" autocomplete="off" readonly onfocus="remove_readonly(this)"> </div> <div class="form-group"> <label for="password"><?php echo app('translator')->get('admin.form.password'); ?></label> <input type="password" name="password" class="form-control" id="password" placeholder="<?php echo app('translator')->get('admin.form.input.password'); ?>"> </div> <div class="row"> <div class="form-group col-md-6"> <label for="status"><?php echo app('translator')->get('admin.form.status'); ?></label> <select class="form-control" name="status" id="status"> <option <?php echo e(isset($customer) && $customer->status=='Active'?'selected':(old('status')=='active'?'selected':'')); ?> value="active">Active</option> <option <?php echo e(isset($customer) && $customer->status=='Inactive'?'selected':(old('status')=='inactive'?'selected':'')); ?> value="inactive">Inactive</option> </select> </div>
<div class="form-group col-md-6"> <label for="status"><?php echo app('translator')->get('Role'); ?></label> <span class=""><a class="add_role_text" href="<?php echo e(route('customer.settings.index', ['tab' => 'permission'])); ?>">(Create Role)</a></span> <select class="form-control" name="role_id" id="status"> <?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $role): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option <?php echo e(isset($customer) && $customer->role_id==$role->id?'selected':(old('role_id')=='active'?'selected':'')); ?>
value="<?php echo e($role->id); ?>"><?php echo e(str_replace('_','-',$role->name)); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <?php /**PATH /home/picotech/domains/test.gateway.picotech.app/public_html/resources/views/customer/staff/form.blade.php ENDPATH**/ ?>
|