File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 22 {{ #if id }} id =" {{ id }} " {{ /if }}
33 class =" my-3 {{ class }} "
44 method =" {{ default method " post" }} "
5+ {{ #if formenctype }} formenctype =" {{ formenctype }} " {{ /if }}
56 {{ #if action }} action =" {{ action }} "
67 {{ else }}
78 {{ #if id }} action =" #{{ id }} " {{ /if }}
118119 </label >
119120 {{ /if }}
120121 {{ /if }}
121- {{ #if (eq type " file" )}}
122+ {{ #if and (eq type " file" ) ( not formenctype )}}
122123 <!-- Change the form encoding type if this is a file input-->
123124 {{ #delay }} formenctype="multipart/form-data"{{ /delay }}
124125 {{ /if }}
131132 {{ #if validate_outline }} btn-outline-{{ validate_outline }} {{ /if }}
132133 {{ #if validate_size }} btn-{{ validate_size }} {{ /if }} "
133134 {{ flush_delayed }}
135+ {{ #if formenctype }} formenctype =" {{ formenctype }} " {{ /if }}
134136 type =" submit"
135137 {{ #if validate }} value =" {{ validate }} " {{ /if }} >
136138 {{ /if }}
You can’t perform that action at this time.
0 commit comments