26 lines
850 B
Plaintext
26 lines
850 B
Plaintext
<!--
|
||
SPDX-FileCopyrightText: 2023 jordi fita mas <jordi@tandem.blog>
|
||
SPDX-FileCopyrightText: 2023 Oriol Carbonell <info@oriolcarbonell.cat>
|
||
SPDX-License-Identifier: AGPL-3.0-only
|
||
-->
|
||
{{ define "title" -}}
|
||
{{( pgettext "Booking" "title" )}}
|
||
{{- end }}
|
||
|
||
{{ define "content" -}}
|
||
{{- /*gotype: dev.tandem.ws/tandem/camper/pkg/booking.publicPage*/ -}}
|
||
<h2>{{ template "title" . }}</h2>
|
||
{{ if .HasErrors -}}
|
||
<div role="alert" class="error">
|
||
<p>{{( gettext "Sorry, there was a problem. You’ll find more details highlighted below." )}}</p>
|
||
</div>
|
||
{{- end }}
|
||
<form id="booking" action="/{{ currentLocale }}/booking" method="post"
|
||
data-hx-include="this"
|
||
data-hx-target="this"
|
||
data-hx-replace-url="true"
|
||
>
|
||
{{ template "fields.gohtml" . }}
|
||
</form>
|
||
{{- end }}
|