{% extends 'wfbo/_layout.html.twig' %} {% block wfbo_title %}Video Karera Settings{% endblock %} {% block wfbo_content %} {% for flash in app.flashes('success') %} {% endfor %} {{ form_start(vkSettingsForm, {attr: {'data-testid': 'vk-settings-form', 'novalidate': 'novalidate', 'data-turbo': 'false'}}) }} {# ── Game Toggle ── #}

Game Visibility

Enable or disable Video Karera on the site. When disabled, the game card is hidden from the home page and the route redirects to home.

{{ form_widget(vkSettingsForm.vkEnabled) }} {{ form_label(vkSettingsForm.vkEnabled, null, {label_attr: {class: 'form-check-label'}}) }} {{ form_errors(vkSettingsForm.vkEnabled) }}
{# ── Combination Bet Limit section ── #}

Combination Bet Limit

Maximum number of bet transactions allowed per horse combination per race. Every bet click counts — including when a player adds to an existing bet. Once the limit is reached, no further bets are accepted for that combination. The player dividend table shows a heat map (yellow → orange → red) as combinations fill up. Leave blank for no limit.

{{ form_label(vkSettingsForm.combinationBetLimit, null, {label_attr: {class: 'form-label--sm'}}) }} {{ form_widget(vkSettingsForm.combinationBetLimit) }} {{ form_errors(vkSettingsForm.combinationBetLimit) }}

Number of bet transactions (not peso amount).

{# ── Maximum Bet Amount section ── #}

Maximum Bet Amount

Maximum amount a player can bet on a single horse combination. Applies to both preset and custom bet amounts. Leave blank for no limit.

{{ form_label(vkSettingsForm.vkMaxBetAmount, null, {label_attr: {class: 'form-label--sm'}}) }} {{ form_widget(vkSettingsForm.vkMaxBetAmount) }} {{ form_errors(vkSettingsForm.vkMaxBetAmount) }}
{# ── House Win Rate section ── #}

House Win Rate

Override the general house win rate for Video Karera only. Leave blank to use the general setting. Higher means more races resolve in the house's favor.

{{ form_label(vkSettingsForm.vkHouseWinRate, null, {label_attr: {class: 'form-label--sm'}}) }}
{{ form_widget(vkSettingsForm.vkHouseWinRate, {attr: {class: 'border-end-0'}}) }} %
{{ form_errors(vkSettingsForm.vkHouseWinRate) }}

Leave blank to fall back to the general house win rate setting.

{# ── Race Timing section ── #}

Race Timing

Configure the race schedule intervals and betting window.

{{ form_label(vkSettingsForm.raceIntervalMinutes, null, {label_attr: {class: 'form-label--sm'}}) }}
{{ form_widget(vkSettingsForm.raceIntervalMinutes, {attr: {class: 'border-end-0'}}) }} min
{{ form_errors(vkSettingsForm.raceIntervalMinutes) }}

How many minutes between consecutive races. Use decimals for sub-minute intervals, e.g. 0.5 = 30 seconds.

{{ form_label(vkSettingsForm.betClosingSeconds, null, {label_attr: {class: 'form-label--sm'}}) }}
{{ form_widget(vkSettingsForm.betClosingSeconds, {attr: {class: 'border-end-0'}}) }} sec
{{ form_errors(vkSettingsForm.betClosingSeconds) }}

Betting closes this many seconds before each race starts.

{{ form_label(vkSettingsForm.nextRaceCountdownSeconds, null, {label_attr: {class: 'form-label--sm'}}) }}
{{ form_widget(vkSettingsForm.nextRaceCountdownSeconds, {attr: {class: 'border-end-0'}}) }} sec
{{ form_errors(vkSettingsForm.nextRaceCountdownSeconds) }}

How long to count down before auto-advancing to the next race after results.

{{ form_end(vkSettingsForm) }} {% endblock %}