Height Select Box


/ Published in: Rails
Save to your folder(s)

Put the height_options method into a helper file, and use it as the select collection for select or collection_select.

It allows heights between 4 feet and 7 feet. To change these limits, change 48 and 84 to some other numbers.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.