set form attributes in EditBareDocument.pt template