private HtmlTag GetHiddenInput(string id, MonthOfYear value)
 {
     return new HiddenTag()
         .Id(id)
         .Attr(HtmlAttributeConstants.Name, id)
         .Value(value.ToStringYearDashMonth());
 }
 private ScriptTag GetScript(string id, MonthOfYear value)
 {
     // todo clean this up when we move this to HtmlTags library
     const string template =
         "$(function() {{$('#{1}').monthpicker({{ onChanged: function(data){{ $('#{0}').val(data.year + '-' + data.month); $('#{0}').trigger('change') }}, elements:[{{tpl:\"month\", opt:{{value: {2}}}}},{{tpl:\"year\", opt:{{value: {3}}}}}] }});}})";
     var script = string.Format(template, id, GetPickerId(id), value.Month, value.Year);
     return Tags.Script(script);
 }