Best way to add comments in erb

前端 未结 7 1903
伪装坚强ぢ
伪装坚强ぢ 2020-12-04 06:45

How do we add comments in erb files, if we do not want them to be generated into the html content?

相关标签:
7条回答
  • 2020-12-04 07:16

    Use the <%# %> sequence, e.g.

    <%# This is a great comment! %>
    
    0 讨论(0)
提交回复
热议问题