numerus/web/template/payments/methods/edit.gohtml

24 lines
855 B
Plaintext
Raw Permalink Normal View History

{{ 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 }}