package components import ( "github.com/starfleetcptn/gomft/internal/db" "strconv" "context" ) type UsersData struct { Users []db.User } templ Users(ctx context.Context, data UsersData) { @LayoutWithContext("User Management", ctx) {
| Role | Created | Actions | |
|---|---|---|---|
| No users found | |||
|
{ user.Email }
|
if user.GetIsAdmin() { Admin } else { User } | { user.CreatedAt.Format("Jan 02, 2006") } | |
User accounts provide secure access to the GoMFT application with role-based permissions