<?php if (isset($component)) { $__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\AppLayout::class, []); ?>
<?php $component->withName('app-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>

    <div class="m-area">
        <p class="title">Edit Coin</p>
        <a href="<?php echo e(route('admin.coins.index')); ?>" class="float-right">
        < Back
        </a>
        <hr>

        <form class="mt-5" action="<?php echo e(route('admin.coins.update', $coin->id)); ?>" method="POST">
            <?php echo csrf_field(); ?>
            <?php echo method_field('PUT'); ?>

            <div class="form-row form">
                <div class="col">
                    <label for="name">Name</label>
                    <input type="text" class="form-control" id="name" name="name" placeholder="Name" required="" value="<?php echo e($coin->name); ?>"
                        autocomplete="off">
                </div>
                <div class="col">
                    <label for="short_name">Short Name</label>
                    <input type="text" class="form-control" id="short_name" name="short_name" placeholder="Short Name" required="" value="<?php echo e($coin->short_name); ?>"
                        autocomplete="off">
                </div>
                <div class="col">
                    <label for="icon">Icon</label>
                    <input type="text" class="form-control" id="icon" name="icon" placeholder="Icon" required="" value="<?php echo e($coin->icon); ?>"
                        autocomplete="off">
                </div>
            </div>

            <div class="form-row form">
                <div class="col">
                    <label for="withdraw_active">Withdraw Active</label>
                    <select name="withdraw_active" class="form-control" id="withdraw_active">
                        <option value="1" <?php if($coin->withdraw_active == "1"): ?> selected <?php endif; ?>>True</option>
                        <option value="0" <?php if($coin->withdraw_active == "0"): ?> selected <?php endif; ?>>False</option>
                    </select>
                </div>
                <div class="col">
                    <label for="faucet_active">Faucet Active</label>
                    <select name="faucet_active" class="form-control" id="faucet_active">
                        <option value="1" <?php if($coin->faucet_active == "1"): ?> selected <?php endif; ?>>True</option>
                        <option value="0" <?php if($coin->faucet_active == "0"): ?> selected <?php endif; ?>>False</option>
                    </select>
                </div>
                <div class="col">
                    <label for="reward_amount">Reward amount</label>
                    <input type="text" class="form-control" id="reward_amount" name="reward_amount" placeholder="40" value="<?php echo e($coin->reward_amount); ?>"
                        required="" autocomplete="off">
                </div>
                <div class="col">
                    <label for="consume_energy">Consume energy</label>
                    <input type="number" class="form-control" id="consume_energy" name="consume_energy" placeholder="40" value="<?php echo e($coin->consume_energy); ?>"
                        required="" autocomplete="off">
                </div>
            </div>

            <div class="form-row form">
                <div class="col">
                    <label for="fp_supported">FaucetPay Supported</label>
                    <select name="fp_supported" class="form-control" id="fp_supported">
                        <option value="1" <?php if($coin->fp_supported == "1"): ?> selected <?php endif; ?>>True</option>
                        <option value="0" <?php if($coin->fp_supported == "0"): ?> selected <?php endif; ?>>False</option>
                    </select>
                </div>
                <div class="col">
                    <label for="fp_api_key">FaucetPay API Key</label>
                    <input type="text" class="form-control" id="fp_api_key" name="fp_api_key" placeholder="Short Name" required="" value="<?php echo e($coin->fp_api_key); ?>"
                        autocomplete="off">
                </div>
            </div>

            <input type="hidden" name="exchange_active" value="0" />
            <input type="hidden" name="xp_supported" value="0" />
            <input type="hidden" name="xp_api_key" value="test" />
            <input type="hidden" name="xp_user_token" value="test" />

            <div class="col-xs-12 col-sm-12 col-md-12 text-center mt-5">
                <button type="submit" class="btn btn-primary">Submit</button>
            </div>

        </form>
    </div>

 <?php if (isset($__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da)): ?>
<?php $component = $__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da; ?>
<?php unset($__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?><?php /**PATH /home/jorgeserranodev/Escritorio/Projects/timebitco.in/autoclaim/resources/views/admin/coins/edit.blade.php ENDPATH**/ ?>