/// <summary> /// Makes a field editable via the Page Editor. Use the Model property as the target item, e.g. model => model.Title where Title is field name. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="model">The model.</param> /// <param name="field">The field.</param> /// <param name="standardOutput">The standard output.</param> /// <param name="parameters">The parameters.</param> /// <returns>System.String.</returns> public string Editable <T>(T model, Expression <Func <T, object> > field, Expression <Func <T, string> > standardOutput, AbstractParameters parameters) { return(UiUtilities.Editable(GlassHtml, model, field, standardOutput, parameters)); }
/// <summary> /// Makes a field editable via the Page Editor. Use the Model property as the target item, e.g. model => model.Title where Title is field name. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="model">The model.</param> /// <param name="field">The field.</param> /// <param name="parameters">The parameters.</param> /// <returns>System.String.</returns> public string Editable <T>(T model, Expression <Func <T, object> > field, string parameters) { return(UiUtilities.Editable(GlassHtml, model, field, parameters)); }