<div class="col-12 form-group">
    <label class="form-control-label" for="input-event"><?php echo e(__('Event')); ?></label>
    <select name="event" id="input-event" class="form-control <?php echo e($errors->has('event') ? 'is-invalid' : ''); ?>" placeholder="<?php echo e(__('Please Select Event')); ?>" data-toggle="select" disabled>
        <option value=""><?php echo e(__('Please Select Event')); ?></option>
        <?php $__currentLoopData = $events; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $id => $title): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <option value="<?php echo e($id); ?>" <?php if(old('event', $feedback->event_id) == $id): echo 'selected'; endif; ?>><?php echo e($title); ?></option>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </select>
    <?php echo $__env->make('alerts.feedback', ['field' => 'event'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
</div>

<div class="col-12 form-group">
    <label class="form-control-label" for="input-name"><?php echo e(__('Name')); ?></label>
    <div class="<?php echo e($errors->has('name') ? 'has-danger' : ''); ?>">
        <input type="text" name="name" id="input-name" class="form-control <?php echo e($errors->has('name') ? 'is-invalid' : ''); ?>" placeholder="<?php echo e(__('Name')); ?>" value="<?php echo e(old('name', $feedback->name ?: 'Anonymous')); ?>" readonly>
    </div>
    <?php echo $__env->make('alerts.feedback', ['field' => 'name'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
</div>

<div class="col-12 form-group">
    <label class="form-control-label" for="input-organization"><?php echo e(__('Organisation')); ?></label>
    <div class="<?php echo e($errors->has('organization') ? 'has-danger' : ''); ?>">
        <input type="text" name="organization" id="input-organization" class="form-control <?php echo e($errors->has('organization') ? 'is-invalid' : ''); ?>" placeholder="<?php echo e(__('Organisation')); ?>" value="<?php echo e(old('organization', $feedback->organization ?: '-')); ?>" readonly>
    </div>
    <?php echo $__env->make('alerts.feedback', ['field' => 'organization'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
</div>

<div class="col-12 form-group">
    <label class="form-control-label" for="input-session"><?php echo e(__('Events/Session')); ?></label>
    <div class="<?php echo e($errors->has('session') ? 'has-danger' : ''); ?>">
        <input type="text" name="session" id="input-session" class="form-control <?php echo e($errors->has('session') ? 'is-invalid' : ''); ?>" placeholder="<?php echo e(__('Select Events/Session')); ?>" value="<?php echo e(old('session', $feedback->session ?: '-')); ?>" readonly>
    </div>
    <?php echo $__env->make('alerts.feedback', ['field' => 'session'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
</div>

<div class="col-12 form-group">
    <label class="form-control-label" for="input-message"><?php echo e(__('Feedback')); ?></label>
    <div class="<?php echo e($errors->has('message') ? 'has-danger' : ''); ?>">
        <textarea name="message" id="input-message" class="form-control <?php echo e($errors->has('message') ? 'is-invalid' : ''); ?>" cols="30" rows="5" readonly><?php echo e(old('message', $feedback->message ?: 'N/A')); ?></textarea>
    </div>
    <?php echo $__env->make('alerts.feedback', ['field' => 'message'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
</div>

<div class="col-12 form-group">
    <label class="form-control-label" for="input-status"><?php echo e(__('Status')); ?> <sup class="text-danger">*</sup></label>
    <select name="status" id="input-status" class="form-control <?php echo e($errors->has('status') ? 'is-invalid' : ''); ?>" placeholder="<?php echo e(__('Please Select Status')); ?>" data-toggle="select" required>
        <option value=""><?php echo e(__('Please Select Status')); ?></option>
        <?php $__currentLoopData = $feedback::listStatuses(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $label): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <option value="<?php echo e($label); ?>" <?php if(old('status', $feedback->status ?: $feedback::STATUS_PENDING) == $label): echo 'selected'; endif; ?>><?php echo e(ucwords($label)); ?></option>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </select>
    <?php echo $__env->make('alerts.feedback', ['field' => 'status'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
</div>

<?php $__env->startPush('vendor-css'); ?>
    <link rel="stylesheet" href="<?php echo e(basset_url('argon/vendor/select2/dist/css/select2.min.css')); ?>" nonce="<?php echo e(csp_nonce('style')); ?>">
<?php $__env->stopPush(); ?>

<?php $__env->startPush('vendor-js'); ?>
    <script src="<?php echo e(basset_url('argon/vendor/select2/dist/js/select2.full.min.js')); ?>" nonce="<?php echo e(csp_nonce('script')); ?>"></script>
<?php $__env->stopPush(); ?>
<?php /**PATH /home/ifsb/public_html/portal.ifsb.org/Modules/Feedback/Resources/views/admin/form.blade.php ENDPATH**/ ?>