<?php $__env->startSection('content'); ?>
<div class="side-title">
    <h3><?php echo e($head ?? ''); ?></h3>
</div>

<div class="border-item">
    <form class="form-row" method="post" action="<?php echo e($action); ?>">
        <?php if($member ?? ''  && $member->id): ?>
            <?php echo method_field('PUT'); ?>
        <?php endif; ?>
        <?php echo csrf_field(); ?>

        

        <div class="form-group col-lg-6">
            <label><?php echo e(meta('email', getCurrentLocale()) ?? __('members.email')); ?> </label>
            <input type="text" class="form-control <?php echo e($errors->has('email') ? 'is-invalid' : ''); ?>" name="email" placeholder="<?php echo e(meta('email', getCurrentLocale()) ?? __('members.email')); ?>" value='<?php echo e(old("email", $member->email ?? "")); ?>'/>
        </div>


        

        <div class="form-group col-lg-6">
            <label><?php echo e(meta('password', getCurrentLocale()) ?? __('members.password')); ?> </label>
            <input type="password" class="form-control <?php echo e($errors->has('password') ? 'is-invalid' : ''); ?>" name="password" placeholder="<?php echo e(meta('password', getCurrentLocale()) ?? __('members.password')); ?>" value='<?php echo e(old("password", "")); ?>'/>
        </div>

        

        <div class="form-group col-lg-6">
            <label><?php echo e(meta('project_name', getCurrentLocale()) ?? __('members.project_name')); ?> </label>
            <input type="project_name" class="form-control <?php echo e($errors->has('project_name') ? 'is-invalid' : ''); ?>" name="project_name" placeholder="<?php echo e(meta('project_name', getCurrentLocale()) ?? __('members.project_name')); ?>" value='<?php echo e(old("project_name", $member->project_name ?? "")); ?>'/>
        </div>

        

        <div class="form-group col-lg-6">
            <label><?php echo e(meta('project_provide', getCurrentLocale()) ?? __('members.project_provide')); ?> </label>
            
            <select name="project_provide" class="form-control <?php echo e($errors->has('project_provide') ? 'is-invalid' : ''); ?>">
                <option <?php if(isset($member)): ?><?php if($member->project_provide == 'service'): ?> selected <?php endif; ?> <?php endif; ?> value="service"><?php echo e(__('members.service')); ?></option>
                <option <?php if(isset($member)): ?><?php if($member->project_provide == 'product'): ?> selected <?php endif; ?> <?php endif; ?> value="product"><?php echo e(__('members.product')); ?></option>
                <option <?php if(isset($member)): ?><?php if($member->project_provide == 'other'): ?> selected <?php endif; ?> <?php endif; ?> value="other"><?php echo e(__('members.other')); ?></option>
            </select>
        </div>


        

        <div class="form-group col-lg-6">
            <label><?php echo e(meta('team_work', getCurrentLocale()) ?? __('members.team_work')); ?> </label>
              <select name="team_work" class="form-control <?php echo e($errors->has('team_work') ? 'is-invalid' : ''); ?>">
                <option <?php if(isset($member)): ?><?php if($member->team_work == 'yes'): ?> selected <?php endif; ?> <?php endif; ?> value="yes"><?php echo e(__('members.yes')); ?></option>
                <option <?php if(isset($member)): ?><?php if($member->team_work == 'no'): ?> selected <?php endif; ?> <?php endif; ?> value="no"><?php echo e(__('members.no')); ?></option>
            </select>

        </div>

        

        <div class="form-group col-lg-6">
            <label><?php echo e(meta('license', getCurrentLocale()) ?? __('members.license')); ?> </label>
            <select name="license" class="form-control <?php echo e($errors->has('team_work') ? 'is-invalid' : ''); ?>">
                <option <?php if(isset($member)): ?><?php if($member->license == 'yes'): ?> selected <?php endif; ?> <?php endif; ?> value="yes"><?php echo e(__('members.yes')); ?></option>
                <option <?php if(isset($member)): ?><?php if($member->license == 'no'): ?> selected <?php endif; ?> <?php endif; ?> value="no"><?php echo e(__('members.no')); ?></option>
                <option <?php if(isset($member)): ?><?php if($member->license == 'other'): ?> selected <?php endif; ?> <?php endif; ?> value="other"><?php echo e(__('members.other')); ?></option>
            </select>
        </div>


        

        <div class="form-group col-lg-6">
            <label><?php echo e(meta('field', getCurrentLocale()) ?? __('members.field')); ?> </label>
            <select name="field_id" class="form-control <?php echo e($errors->has('field_id') ? 'is-invalid' : ''); ?>">
                <?php $__currentLoopData = $fields; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option <?php if(isset($member)): ?><?php if($member->field_id == $row->id): ?> selected <?php endif; ?> <?php endif; ?> value="<?php echo e($row->id); ?>"><?php echo e($row->name); ?></option>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </select>
        </div>


          <div class="form-group col-lg-6">
            <label><?php echo e(meta('idea', getCurrentLocale()) ?? __('members.idea')); ?> </label>
            <select name="idea_id" class="form-control <?php echo e($errors->has('idea_id') ? 'is-invalid' : ''); ?>">
                <?php $__currentLoopData = $ideas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option <?php if(isset($member)): ?><?php if($member->idea_id == $row->id): ?> selected <?php endif; ?> <?php endif; ?> value="<?php echo e($row->id); ?>"><?php echo e($row->name); ?></option>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </select>
        </div>

         <div class="form-group col-lg-6">
            <label><?php echo e(meta('description', getCurrentLocale()) ?? __('members.description')); ?> </label>
            <textarea class="form-control <?php echo e($errors->has('description') ? 'is-invalid' : ''); ?>" name="description" placeholder="<?php echo e(meta('description', getCurrentLocale()) ?? __('members.description')); ?>"> <?php echo e(old("description", $member->description ?? "")); ?></textarea>
        </div>
        

        <div class="text-center mt-5 col-12">
            <button class="butn"><span><?php echo e(__('dashboard.save')); ?></span></button>
        </div>
    </form>
</div>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('inner_js'); ?>
    <!-- Editor JS files -->

            <script src="//cdn.tinymce.com/4/tinymce.min.js"></script>
    <script>
        let route_prefix = "<?php echo e(url(config('lfm.prefix'))); ?>",
            url = "<?php echo e(url('/')); ?>/",
            imagePath = "<?php echo e(asset('')); ?>";
    </script>
    <script src="<?php echo e(asset('assets/admin/js/editor.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/js/lfm.js')); ?>"></script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\lamis\resources\views/admin/members/form.blade.php ENDPATH**/ ?>