Taking the ERB code we wrote for simple_calendar and finding the right balance of Ruby and ERB for our gem