Skip to content

Commit fbbce94

Browse files
committed
fix extraneous parenthesis in enctype
1 parent ff26d5b commit fbbce94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/UnidocPages/Templates/Site.Admin.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ extension Site.Admin:AdministrativePage
9797

9898
main[.form]
9999
{
100-
$0.enctype = "\(MultipartType.form_data))"
100+
$0.enctype = "\(MultipartType.form_data)"
101101
$0.action = "\(Self[.upload])"
102102
$0.method = "post"
103103
}
@@ -122,7 +122,7 @@ extension Site.Admin:AdministrativePage
122122

123123
main[.form]
124124
{
125-
$0.enctype = "multipart/form-data"
125+
$0.enctype = "\(MultipartType.form_data)"
126126
$0.action = "\(Self[.rebuild])"
127127
$0.method = "post"
128128
}
@@ -140,7 +140,7 @@ extension Site.Admin:AdministrativePage
140140

141141
main[.form]
142142
{
143-
$0.enctype = "application/x-www-form-urlencoded"
143+
$0.enctype = "\(MediaType.application(.x_www_form_urlencoded))"
144144
$0.action = "\(Self[action])"
145145
$0.method = "get"
146146
}

0 commit comments

Comments
 (0)