make file input for banners consistent with post form

merge-requests/208/head
fatchan 5 years ago
parent 8bb1d53402
commit 3c1f9383d7
  1. 7
      views/pages/managebanners.pug

@ -17,12 +17,13 @@ block content
input(type='hidden' name='_csrf' value=csrf)
.row
- const maxFiles = globalLimits.bannerFiles.max;
.label.wp
.label.wp.db
| Banner#{maxFiles > 1 ? 's' : ''}
.required *
span.required *
if maxFiles > 1
|
div (Max #{maxFiles})
|
small (Max #{maxFiles})
span.col
include ../includes/filelabel.pug
input#file(type='file', name='file' multiple required)

Loading…
Cancel
Save