ViewBase was missing WriteAttribute method, which meant that templates which used an attribute would not compile