refactored error-view for wikicloth

contributed to 101companies/101worker#85