Upgrade to Bulma 1.0.2.

This commit is contained in:
mikestefanello 2025-02-18 19:19:09 -05:00
parent 3eab2f5562
commit acbc5e4bf6
7 changed files with 21 additions and 43 deletions

View file

@ -75,7 +75,8 @@ func (h *Files) Page(ctx echo.Context) error {
func (h *Files) Submit(ctx echo.Context) error {
file, err := ctx.FormFile("file")
if err != nil {
return err
msg.Danger(ctx, "A file is required.")
return h.Page(ctx)
}
src, err := file.Open()