What this form does
This form is the record-level maintenance surface for one casino game. Operators use it to review the selected game id and identifier, edit the game name and description, update game image assets, change play flags, adjust game parameters, and maintain country/currency restriction data.
The form is not a bulk catalog tool. It edits one selected game record and then returns the operator to the previous page after a successful save.
When operators use it
- Edit one game from the main Casino / Games list.
- Update game-specific metadata that does not fit in the list view.
- Replace thumbnail, square, portrait, or fallback images for one game.
- Check or refresh optimized image versions after changing image assets.
- Adjust bonus eligibility, demo availability, Drops & Wins, mobile launch, active status, RTP, wagering participation, and loyalty-point cost.
- Maintain restricted currency and restricted country values for the game.
Form sections
Basic Information shows the read-only game id and identifier, plus editable Game Name and Description fields.
Game Images shows current image previews and upload controls for Thumbnail Image, Square Image, Portrait Image, and Fallback Image. The first three image slots can show optimized indicators and can be toggled between regular and optimized previews when optimized versions exist. Fallback Image is the browser fallback asset and is not shown with an optimized variant in this form.
Game Parameters contains numeric/commercial settings and flags that affect how the game can be used: wagering participation, loyalty-point cost, RTP, bonus play availability, Drops & Wins, active state, demo availability, and mobile-launch availability.
Restriction Settings contains JSON editors for restricted currencies and restricted countries. Use explicit arrays of currency or country codes when possible; malformed values can cause save failure or unexpected restriction behavior.
Main actions
Save Changes submits the current form values and selected files. A successful save updates the game record, refreshes the source data, shows a success toast, and returns to the previous page.
Cancel returns to the previous page without submitting current form changes.
Reoptimize Images regenerates optimized image versions for the current game from its existing source images. It is separate from Save Changes and is disabled while already running or when the selected game does not have an identifier.
Known caveats
- Selecting an image file only stages it locally. The file is not stored until Save Changes succeeds.
- Replacing thumbnail, square, or portrait images clears the corresponding optimized image URLs so optimized versions can be regenerated.
- The current thumbnail field has stricter form validation than the upload picker implies. If a thumbnail save is rejected after selecting an animated or WebP asset, retry with PNG or JPEG until product validation is aligned.
- Restricted countries update the country restriction lists after the main game save. If that follow-up update fails silently, the game metadata can still save while country restrictions need a separate check.