create a minimal form for simple action
static public getSimpleForm ( $action, $btname, $btlabel, array $fields = [], $btimage = '', $btoption = '', $confirm = '' ) | ||
$action | String URL to call on submit | |
$btname | String button name (maybe if name <> value) | |
$btlabel | String button label | |
$fields | array | Array field name => field value |
$btimage | String button image uri (optional) (default '') | |
$btoption | String optional button option (default '') | |
$confirm | String optional confirm message (default '') |