public MvcHtmlString BuildForm(BootstrapFormType formType, List<FormElement> formElements) { var formBuilderParameters = new BuilderParameters(formType); var formMarkUp = this.formBuilder.BuildForm(formElements, formBuilderParameters); return new MvcHtmlString(formMarkUp); }
public MvcHtmlString BuildForm(BootstrapFormType formType, List <FormElement> formElements) { var formBuilderParameters = new BuilderParameters(formType); var formMarkUp = this.formBuilder.BuildForm(formElements, formBuilderParameters); return(new MvcHtmlString(formMarkUp)); }
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())); }
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())); }
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()); }
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()); }