18 lines
499 B
HTML

{{ if has_flash_success() then }}
<div class="ui alert">
{{ get_flash_success() }}
</div>
{{ end }}
<form action="/admin/config" method="post">
<div>
<h4>Game Open</h4>
<input type="radio" name="game_open" id="open_yes" value="1" {{{ game_open_yes }}}>
<label for="open_yes">Open</label>
<input type="radio" name="game_open" id="open_no" value="0" {{{ game_open_no }}}>
<label for="open_no">Closed</label>
</div>
<button type="submit" class="ui button primary">Save</button>
</form>