public void Begin_form_without_enctype() { var t = new TwitterBootstrapFormTemplate(); var result = t.BeginForm("/", FormMethod.Post, null, null); HtmlApprovals.VerifyHtml(result.ToHtmlString()); }
public void Begin_form_without_enctype() { var t = new TwitterBootstrapFormTemplate(); var result = t.BeginForm("/", FormMethod.Post, null, null); HtmlApprovals.VerifyHtml(result.ToHtmlString()); }
public void Begin_form_with_enctype() { var t = new TwitterBootstrapFormTemplate(); var result = t.BeginForm("/", FormMethod.Post, new HtmlAttributes(data_attr => "value"), EncType.Multipart); HtmlApprovals.VerifyHtml(result.ToHtmlString()); }
public void Begin_form_with_enctype() { var t = new TwitterBootstrapFormTemplate(); var result = t.BeginForm("/", FormMethod.Post, new HtmlAttributes(data_attr => "value"), EncType.Multipart); HtmlApprovals.VerifyHtml(result.ToHtmlString()); }