Upgrade to Bulma 1.0.2.
This commit is contained in:
parent
3eab2f5562
commit
acbc5e4bf6
7 changed files with 21 additions and 43 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue