Skip to content

Commit

Permalink
fix: don't allow empty file upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ViRb3 committed Feb 21, 2021
1 parent 409ba4e commit dcb337a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/index.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<div class="modal-body">
<div class="mb-3">
<label for="formFile" class="form-label">App file</label>
<input class="form-control" type="file" id="fileElem" name="{{.FormFileName}}">
<input class="form-control" type="file" id="fileElem" name="{{.FormFileName}}" required>
</div>
<div class="mb-3">
<div class="col-md-6">
Expand Down

0 comments on commit dcb337a

Please sign in to comment.