Пример #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());
        }