// SPDX-FileCopyrightText: 2024 John Livingston // // SPDX-License-Identifier: AGPL-3.0-only import { html } from 'lit' import { __ } from 'i18n' export function tplPollForm (el) { const i18nOk = __('Ok') return html` ${el.alert_message ? html`
${el.alert_message}
` : ''} ${ el.form_fields ? html`
el.formSubmit(ev)}>

${el.title}

${el.instructions}

${el.form_fields}
` : '' }` }