Pass view name to wrap_child

@nedbat, @sarina: Review?