GO:0008841: dihydrofolate synthase activity
Catalysis of the reaction: ATP + dihydropterate + L-glutamate = ADP + phosphate + dihydrofolate.