14 lines
305 B
Plaintext
14 lines
305 B
Plaintext
package auth
|
|
|
|
import "templ-test/models"
|
|
import "templ-test/views/layout"
|
|
|
|
templ ShowCookie(m models.AllCookies) {
|
|
@layout.Testing("Cookie Explorer") {
|
|
<h2>These are stored as cookies</h2>
|
|
<p>Username: { m.Username }</p>
|
|
<p>JWT Token: { m.Token }</p>
|
|
<p>RefreshToken: { m.RefreshToken }</p>
|
|
}
|
|
}
|