我一直试图将css样式添加到我的BeginUmbracoForm
中,但我的css文件找不到我给UmbracoForm
的类名?有答案吗?
using (Html.BeginUmbracoForm<UmbRegisterController>("HandleRegisterMember", null, new { @class = "RegisterForm" }))
@using (Html.BeginUmbracoForm("Action", "Surface", null, new Dictionary<string, object> { { "id", "YourId" } }))
它适用于
@using (Html.BeginUmbracoForm("Action", "Surface", null, new Dictionary<string, object> { { "id", "YourId" }, { "class" , "YourClass" } }))
或者任何你想要的东西。