Fixed nil gsub! bug and added form elements to dropdown