Adds theme instructions

This commit is contained in:
Mouse Reeve
2022-02-27 10:12:47 -08:00
parent 3dfbb3272e
commit cc015536fa
2 changed files with 22 additions and 23 deletions

View File

@ -466,9 +466,7 @@ class ThemeForm(CustomForm):
fields = ["name", "path"]
widgets = {
"name": forms.TextInput(attrs={"aria-describedby": "desc_name"}),
"path": ClearableFileInputWithWarning(
attrs={"aria-describedby": "desc_path"}
),
"path": forms.TextInput(attrs={"aria-describedby": "desc_path", "placeholder": _("example-theme.scss")}),
}