Redmage/views/components/page_error.templ

13 lines
203 B
Plaintext

package components
import "github.com/tigorlazuardi/redmage/views"
templ PageError(c *views.Context, text string) {
@Doctype() {
@Head(c, HeadTitle(text))
@Body(c) {
<h1>{ text }</h1>
}
}
}