#112 Fix view template editing