added context instance in views and if tag for it's templates