Skip to content

Commit a5e8664

Browse files
Daniel SheffieldDaniel Sheffield
authored andcommitted
restore conditional on file type
1 parent e37b63b commit a5e8664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlpage/templates/form.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
</label>
121121
{{/if}}
122122
{{/if}}
123-
{{#if and (eq type "file") (not formenctype)}}
123+
{{#if (eq type "file")}}
124124
<!-- Change the form encoding type if this is a file input-->
125125
{{#delay}}formenctype="multipart/form-data"{{/delay}}
126126
{{/if}}

0 commit comments

Comments
 (0)