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

Game Visibility

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

{{ form_widget(pkSettingsForm.pkEnabled) }} {{ form_label(pkSettingsForm.pkEnabled, null, {label_attr: {class: 'form-check-label'}}) }} {{ form_errors(pkSettingsForm.pkEnabled) }}
{# ── Bet Limit ── #}

Bet Limit

Maximum bet amount per Pachinko round. Leave blank for no limit.

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

House Win Rate

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

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

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

{{ form_end(pkSettingsForm) }} {% endblock %}