Changed html out put of flag views