Пример #1
0
        public MvcHtmlString BuildForm(BootstrapFormType formType, List<FormElement> formElements)
        {
            var formBuilderParameters = new BuilderParameters(formType);

            var formMarkUp = this.formBuilder.BuildForm(formElements, formBuilderParameters);

            return new MvcHtmlString(formMarkUp);
        }
Пример #2
0
        public MvcHtmlString BuildForm(BootstrapFormType formType, List <FormElement> formElements)
        {
            var formBuilderParameters = new BuilderParameters(formType);

            var formMarkUp = this.formBuilder.BuildForm(formElements, formBuilderParameters);

            return(new MvcHtmlString(formMarkUp));
        }
Пример #3
0
        public MvcHtmlString BuildElement(BootstrapFormType formType, FormElement formElement)
        {
            var sb = new StringBuilder();
            var formBuilderParameters = new BuilderParameters(formType);

            sb.Append(this.formBuilder.RenderElement(formElement, formBuilderParameters));

            return(new MvcHtmlString(sb.ToString()));
        }
Пример #4
0
        public MvcHtmlString BuildForm(BootstrapFormType formType, List <FormElement> formElements)
        {
            var sb = new StringBuilder();
            var formBuilderParameters = new BuilderParameters(formType);

            sb.Append(this.formBuilder.BuildForm(formElements, formBuilderParameters));

            return(new MvcHtmlString(sb.ToString()));
        }
Пример #5
0
        public MvcHtmlString BuildElement(BootstrapFormType formType, FormElement formElement)
        {
            var sb = new StringBuilder();
            var formBuilderParameters = new BuilderParameters(formType);

            sb.Append(this.formBuilder.RenderElement(formElement, formBuilderParameters));

            return new MvcHtmlString(sb.ToString());
        }
Пример #6
0
        public MvcHtmlString BuildForm(BootstrapFormType formType, List<FormElement> formElements)
        {
            var sb = new StringBuilder();
            var formBuilderParameters = new BuilderParameters(formType);

            sb.Append(this.formBuilder.BuildForm(formElements, formBuilderParameters));

            return new MvcHtmlString(sb.ToString());
        }