mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
DEV: Add support for uploads to form templates (#22232)
This commit is contained in:
@ -51,7 +51,7 @@ export const templateFormFields = [
|
||||
type: "upload",
|
||||
structure: `- type: upload
|
||||
attributes:
|
||||
file_types: "jpg, png, gif"
|
||||
file_types: ".jpg, .png, .gif"
|
||||
allow_multiple: false
|
||||
label: "${I18n.t("admin.form_templates.field_placeholders.label")}"
|
||||
validations:
|
||||
|
Reference in New Issue
Block a user