public IBootstrapLabel LabelFor <TValue>(Expression <Func <TModel, TValue> > expression) { _model.htmlFieldName = ExpressionHelper.GetExpressionText(expression); _model.metadata = ModelMetadata.FromStringExpression(_model.htmlFieldName, html.ViewData); IBootstrapLabel l = new BootstrapFormGroupLabeled(html, _model, BootstrapInputType.Custom); return(l); }
public override IBootstrapLabel Label() { IBootstrapLabel l = new BootstrapFormGroupLabeled(html, _model, BootstrapInputType.RadioTrueFalse); return(l); }
public override IBootstrapLabel Label() { IBootstrapLabel l = new BootstrapFormGroupLabeled(html, _model, BootstrapInputType.TextArea); return(l); }
public IBootstrapLabel Label() { IBootstrapLabel l = new BootstrapFormGroupLabeled(html, _model, BootstrapInputType.Display); return(l); }
public override IBootstrapLabel Label() { IBootstrapLabel l = new BootstrapFormGroupLabeled(html, _model, BootstrapInputType.DropDownList); return(l); }