24 lines
855 B
Plaintext
24 lines
855 B
Plaintext
|
{{ define "content" }}
|
||
|
{{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.paymentMethodForm*/ -}}
|
||
|
<tr>
|
||
|
<td colspan="6">
|
||
|
<form method="POST"
|
||
|
action="{{ companyURI "/payment-methods" }}/{{ .PaymentMethodId }}"
|
||
|
data-hx-boost="true"
|
||
|
data-hx-push-url="false"
|
||
|
>
|
||
|
<fieldset>
|
||
|
{{ csrfToken }}
|
||
|
{{ putMethod }}
|
||
|
{{ template "input-field" .Name }}
|
||
|
{{ template "input-field" .Instructions }}
|
||
|
</fieldset>
|
||
|
<footer>
|
||
|
<button>{{( pgettext "Update" "action" )}}</button>
|
||
|
<button name="cancel">{{( pgettext "Cancel" "action" )}}</button>
|
||
|
</footer>
|
||
|
</form>
|
||
|
</td>
|
||
|
</tr>
|
||
|
{{- end }}
|