10 lines
176 B
Text
10 lines
176 B
Text
package tpl
|
|
|
|
import "strconv"
|
|
|
|
templ ErrorPage(code int, message string) {
|
|
@Layout(HeaderParams{}) {
|
|
<h1>Ошибка { strconv.Itoa(code) }!</h1>
|
|
<p>{ message }</p>
|
|
}
|
|
}
|