fix: use utf-8 in forms
This commit is contained in:
parent
ea34b989e1
commit
f8243667e7
@ -12,7 +12,7 @@
|
||||
{{ $seed := now.Unix }}
|
||||
{{ $random := delimit (shuffle (split (md5 $seed) "" )) "" }}
|
||||
|
||||
<form action="{{ $action }}" method="{{ $method }}" id="form-{{ $random }}" class="space-y-4 dark:bg-gray-800 dark:text-gray-100 p-4">
|
||||
<form action="{{ $action }}" method="{{ $method }}" id="form-{{ $random }}" class="space-y-4 dark:bg-gray-800 dark:text-gray-100 p-4" enctype="multipart/form-data" accept-charset="UTF-8">
|
||||
{{ $fieldCount := 0 }}
|
||||
{{ range $key, $value := .Params }}
|
||||
{{ if hasPrefix $key "field" }}
|
||||
|
Loading…
Reference in New Issue
Block a user