/// <summary>
 /// Override the HTML of the form field.
 ///
 /// This gives you ultimate flexibility with your field HTML when it's
 /// not quite what you want, but you still want the form template
 /// (e.g. label, surrounding html and validation message).
 /// </summary>
 /// <param name="config">Field configuration to modify</param>
 /// <param name="html">The HTML for the field</param>
 /// <returns>The instance of <see cref="IFieldConfiguration"/> to allow for method chaining</returns>
 public static IFieldConfiguration OverrideFieldHtml(this IFieldConfiguration config, Func <object, IHtmlString> html)
 {
     if (config != null)
     {
         return(config.OverrideFieldHtml(html(null)));
     }
     return(null);
 }