Use the correct attribute name on form declarations. Closes habari/habari#529