6 lines
362 B
PHP
6 lines
362 B
PHP
<?php declare(strict_types=1); ?>
|
|
<label for="action"><?= _('Action') ?></label>
|
|
<select name="action" id="action">
|
|
<option value="add"<?= ($_POST['action'] ?? NULL) === 'add' ? ' selected=""' : '' ?>><?= _('Add') ?></option>
|
|
<option value="delete"<?= ($_POST['action'] ?? NULL) === 'delete' ? ' selected=""' : '' ?>><?= _('Delete') ?></option>
|
|
</select>
|