mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Merge pull request #5321 from Xeevis/1.9.x
#5109: Email field shouldn't specify email type in design mode
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
var tagBuilder = TagBuilderExtensions.CreateElementTagBuilder(Model, "input");
|
var tagBuilder = TagBuilderExtensions.CreateElementTagBuilder(Model, "input");
|
||||||
|
|
||||||
tagBuilder.AddCssClass("text design");
|
tagBuilder.AddCssClass("text design");
|
||||||
tagBuilder.Attributes["type"] = "email";
|
tagBuilder.Attributes["type"] = "text";
|
||||||
tagBuilder.Attributes["value"] = element.Value;
|
tagBuilder.Attributes["value"] = element.Value;
|
||||||
tagBuilder.Attributes["name"] = element.Name;
|
tagBuilder.Attributes["name"] = element.Name;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user