Converting flat-ui to erb file.