Comment in html.erb file
来源:互联网 发布:莱昂纳德 知乎 编辑:程序博客网 时间:2024/06/06 00:09
There are 2 ways to comment in a html.erb file:
1. Comment a single line:
<%# commented line %>e.g.<%# = f.label :price_high %><br>
2. Comment a block: use a if false
to surrond your codes like this:
<% if false %>codes to comment<% end %>e.g. <% if false %> <%= f.label :price_low %><br> <% end %>
0 0
- Comment in html.erb file
- multi-line comment In file
- application.html.erb
- unexpected end of file found in comment
- unexpected end of file found in comment
- rails yaml with expression or variable (Using ERB in YAML Configuration File)
- fatal error C1071: unexpected end of file found in comment
- VS2012 error C1071: unexpected end of file found in comment
- erb自动生成html页面一例
- comment style in C
- VS2013,fatal error C1071: unexpected end of file found in comment
- 解决vim编辑器.html.erb文件语法高亮问题
- 如何用Dreamweaver编辑rails的html.erb文件
- Ruby erb模板文件生成html网页的示例
- wxWidgets access html file in zip package
- WebBrowser.java: Display HTML file in JEditorPane
- comment set character in mysql
- Linux Common Comment in Practices
- clone报错ouicli.pl错误
- 猎人和猎狗的故事
- testing Fixtures的知识
- OS X 平台的 8 个实用终端工具
- Android 开发环境的搭建
- Comment in html.erb file
- 7月学习注意事项
- 安装ambari出错:ImportError: No module named _ssl,ambari-agent启动不了
- 手机号码和电话号码的正则表达式
- UIScrollerView 属性的总结
- C-全局变量,局部变量,静态全局变量,静态局部变量
- 动态数据及设施
- CentOS 输入法问题
- [C/C++]我的图书馆