Ontify
Catalysis of the reaction: ATP + dihydropterate + L-glutamate = ADP + phosphate + dihydrofolate.