Do you want to duplicate the date code here? Or use `attrs['class'] = attrs.get('class', '') + ' form-control'`?