fixed broken index.erb record selection form