fixed indentation and empty lines for model attribute generation

refs #1019