protected override void CreateChildControls()
{
base.CreateChildControls();
_cbCurrent = new CheckBox();
_cbCurrent.ID = this.ID + "_cbCurrent";
_cbCurrent.AddCssClass( "js-current-date-checkbox" );
_cbCurrent.Text = "Current Date";
this.Controls.Add( _cbCurrent );
_nbDayOffset = new RockTextBox();
_nbDayOffset.ID = this.ID + "_nbDayOffset";
_nbDayOffset.Help = "Enter the number of days after the current date to use as the date. Use a negative number to specify days before.";
_nbDayOffset.AddCssClass( "input-width-md js-current-date-offset" );
_nbDayOffset.Label = "+- Days";
this.Controls.Add( _nbDayOffset );
}