def _moin_row_with_attrs(celltag, cell_values, colwidths, colaligns,
                         header=''):
    alignment = {"left":    '',
                 "right":   '<style="text-align: right;">',
                 "center":  '<style="text-align: center;">',
                 "decimal": '<style="text-align: right;">'}
    values_with_attrs = ["{0}{1} {2} ".format(celltag,
                                              alignment.get(a, ''),
                                              header+c+header)
                         for c, a in zip(cell_values, colaligns)]
    return "".join(values_with_attrs)+"||"