Make master template dynamic (add view showing)