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

Game Visibility

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

{{ form_widget(hlSettingsForm.hlEnabled) }} {{ form_label(hlSettingsForm.hlEnabled, null, {label_attr: {class: 'form-check-label'}}) }} {{ form_errors(hlSettingsForm.hlEnabled) }}
{# ── Maximum Bet Amount section ── #}

Maximum Bet Amount

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

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

House Win Rate

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

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

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

{# ── Round Timing ── #}

Round Timing

Configure how often rounds happen and how long the betting window stays open.

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

How many minutes between consecutive rounds. Use decimals for sub-minute intervals, e.g. 0.5 = 30 seconds, 0.25 = 15 seconds (minimum 0.1 = 6 seconds). Must be longer than the bet closing time.

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

Betting closes this many seconds before each round starts.

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

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

{{ form_end(hlSettingsForm) }} {% endblock %}