The gem seems to be working great, but I have a question I didn't seen when looking at the comments.
I'd like the user be able to add new fields, and remove them if necessary... but the first field is required. If I build the first field, it has the remove link like the others... so I want to get rid of that remove link from the first field so it can't be removed.
Is there an elegant way to do this? I know I could put it in a div, then remove it if it's the first... but I was hoping there was better way that someone knows about.
The gem seems to be working great, but I have a question I didn't seen when looking at the comments.
I'd like the user be able to add new fields, and remove them if necessary... but the first field is required. If I build the first field, it has the remove link like the others... so I want to get rid of that remove link from the first field so it can't be removed.
Is there an elegant way to do this? I know I could put it in a div, then remove it if it's the first... but I was hoping there was better way that someone knows about.