Using select_year in form_for helper block

I'm having trouble trying to implement a selection field of years in a
form_for block for Views. Initially, I wrote something like this: