go-cook-portal/views/home/error.templ

11 lines
167 B
Plaintext

package home
import "templ-test/views/layout"
templ Error(message error) {
@layout.WithLayout("Error") {
<h1>Oops... :(</h1>
<h3>{ message.Error() } </h3>
}
}