fixes #160 - views for draft and pending elements