21 lines
420 B
Plaintext
21 lines
420 B
Plaintext
package component
|
|
|
|
type ErrorPageVModel struct {
|
|
Message string
|
|
}
|
|
|
|
templ ErrorPage(vmodel ErrorPageVModel) {
|
|
@Page(WithTitle("Error")) {
|
|
<div class="is-flex is-justify-content-center is-align-items-center is-fullheight">
|
|
<article class="message is-danger">
|
|
<div class="message-header">
|
|
<p>Error</p>
|
|
</div>
|
|
<div class="message-body">
|
|
{ vmodel.Message }
|
|
</div>
|
|
</article>
|
|
</div>
|
|
}
|
|
}
|