示例#1
0
        public void Begin_form_without_enctype()
        {
            var t = new TwitterBootstrapFormTemplate();

            var result = t.BeginForm("/", FormMethod.Post, null, null);

            HtmlApprovals.VerifyHtml(result.ToHtmlString());
        }
示例#2
0
        public void Begin_form_without_enctype()
        {
            var t = new TwitterBootstrapFormTemplate();

            var result = t.BeginForm("/", FormMethod.Post, null, null);

            HtmlApprovals.VerifyHtml(result.ToHtmlString());
        }
示例#3
0
        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());
        }
示例#4
0
        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());
        }