Do not generate HTML when it is not required

Do not use helpers to generate HTML unless it requires some amount of significant variables