Lift repeated tag out of ERB conditional