oficina / estilo Public

Clone
git clone https://amadan.net/oficina/estilo

Plain git — no account needed to clone.

Download

Download this file

1{{define "home-connect"}}
2<header rst-page-header><div rst-page-header-titles><h1>{{.Title}}</h1></div></header>
3<div rst-box>
4 <p>{{.Body}}</p>{{if .Address}}<p style="overflow-wrap: anywhere"><strong><bdi>{{.Address}}</bdi></strong></p>{{end}}
5 {{- /* One row with the door's gap, primary first: rastrillo's form-foot. */}}
6 <div rst-form-foot>
7 {{- if .PostAction}}<form method="post" action="{{.Action}}"><button rst-btn="primary" type="submit">{{.ActionLabel}}</button></form>
8 {{- else}}<a rst-btn="primary" href="{{.Action}}">{{.ActionLabel}}</a>{{end}}
9 {{- if .CancelLabel}}<a rst-btn="ghost" href="/">{{.CancelLabel}}</a>{{end}}</div>
10</div>
11{{end}}
12