관리-도구
편집 파일: 0884d3c3c7775e56d492619f51405d5a431e2987.php
<?php $__env->startSection('content'); ?> <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-header"> <span class="panel-title"><?php echo e(_lang('Create User')); ?></span> </div> <div class="card-body"> <form method="post" class="validate" autocomplete="off" action="<?php echo e(route('users.store')); ?>" enctype="multipart/form-data"> <?php echo e(csrf_field()); ?> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Name')); ?></label> <input type="text" class="form-control" name="name" value="<?php echo e(old('name')); ?>" required> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Email')); ?></label> <input type="text" class="form-control" name="email" value="<?php echo e(old('email')); ?>" required> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Password')); ?></label> <input type="password" class="form-control" name="password" value="<?php echo e(old('password')); ?>" required> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('User Type')); ?></label> <select class="form-control select2 auto-select" data-selected="<?php echo e(old('user_type')); ?>" name="user_type" required> <option value=""><?php echo e(_lang('Select One')); ?></option> <option value="admin"><?php echo e(_lang('Admin')); ?></option> <option value="user"><?php echo e(_lang('User')); ?></option> </select> </div> </div> <div class="col-md-6"> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('User Role')); ?></label> <select class="form-control select2 auto-select" data-selected="<?php echo e(old('role_id')); ?>" name="role_id"> <option value=""><?php echo e(_lang('Select One')); ?></option> <?php echo e(create_option('roles','id','name')); ?> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Status')); ?></label> <select class="form-control select2 auto-select" data-selected="<?php echo e(old('status')); ?>" name="status" required> <option value=""><?php echo e(_lang('Select One')); ?></option> <option value="1"><?php echo e(_lang('Active')); ?></option> <option value="0"><?php echo e(_lang('Inactive')); ?></option> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Profile Picture')); ?></label> <input type="file" class="form-control dropify" name="profile_picture" > </div> </div> <div class="col-md-12"> <div class="form-group"> <button type="reset" class="btn btn-danger"><?php echo e(_lang('Reset')); ?></button> <button type="submit" class="btn btn-primary"><?php echo e(_lang('Save')); ?></button> </div> </div> </div> </form> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eraas/public_html/resources/views/backend/user/create.blade.php ENDPATH**/ ?>