2022-03-11 14:50:11 -05:00
|
|
|
<form action="{path('/settings/api')}" method="POST">
|
|
|
|
<div class="field">
|
|
|
|
<label class="checkbox">
|
2022-03-13 13:22:36 -04:00
|
|
|
<input name="api-legacy" type="checkbox"
|
|
|
|
checked="{isset($_COOKIE['api-legacy']) && $_COOKIE['api-legacy'] === 'on' ? 'true' : 'false'}"
|
|
|
|
value="{isset($_COOKIE['api-legacy']) ? $_COOKIE['api-legacy'] : 'off'}">Enable legacy mode
|
2022-03-11 14:50:11 -05:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<div class="control">
|
|
|
|
<button class="button is-success" type="submit">Submit</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|