build a list- and formView.jade for both situations