@extends('base.base')
@section('base')
<div class="container-fluid">
    <div class="row">
        <div class="col-12">
            <div class="card">
                <div class="card-header">
                    <h3 class="card-title">彩金自动审核开关</h3>
                </div>
                <div class="card-body">
                    <form method="post" action="{{ route('admin.extension_new.auto_verify') }}">
                        @csrf
                        <div class="form-group">
                            <label for="StatusValue">自动审核状态</label>
                            <select class="form-control" id="StatusValue" name="StatusValue">
                                <option value="0" @if($value == 0) selected @endif>关闭</option>
                                <option value="1" @if($value == 1) selected @endif>开启</option>
                            </select>
                            <small class="form-text text-muted">开启后系统将自动审核符合条件的推广奖励</small>
                        </div>
                        <button type="submit" class="btn btn-primary">保存设置</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection
