numerus/web/template/contacts/import.gohtml

27 lines
802 B
Plaintext

{{ define "title" -}}
{{( pgettext "Import Contacts" "title" )}}
{{- end }}
{{ define "breadcrumbs" -}}
<nav>
<p data-hx-target="main" data-hx-boost="true">
<a href="{{ companyURI "/" }}">{{( pgettext "Home" "title" )}}</a> /
<a href="{{ companyURI "/contacts"}}">{{( pgettext "Contacts" "title" )}}</a> /
<a>{{( pgettext "Import Contacts" "title" )}}</a>
</p>
</nav>
{{- end }}
{{ define "content" }}
{{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.contactImportForm*/ -}}
<form method="POST" enctype="multipart/form-data">
{{ csrfToken }}
{{ template "file-field" .File }}
<fieldset>
<button class="primary" type="submit">Import</button>
</fieldset>
</form>
{{- end }}