add validation to show-view
Merge pull request #8 from fabiansch/validation2

add validation to show-view