Warning, /frameworks/syntax-highlighting/autotests/input/highlight.rhtml is written in an unsupported language. File is not indexed.
0001 <!-- Ruby/Rails/RHTML Example --> 0002 0003 <h1>Listing Books</h1> 0004 0005 <table> 0006 <thead> 0007 <tr> 0008 <th>Title</th> 0009 <th>Content</th> 0010 <th colspan="3"></th> 0011 </tr> 0012 </thead> 0013 0014 <tbody> 0015 <% @books.each do |book| %> 0016 <tr> 0017 <td><%= book.title %></td> 0018 <td><%= book.content %></td> 0019 <td><%= link_to "Show", book %></td> 0020 <td><%= link_to "Edit", edit_book_path(book) %></td> 0021 <td><%= link_to "Destroy", book, method: :delete, data: { confirm: "Are you sure?" } %></td> 0022 </tr> 0023 <% end %> 0024 </tbody> 0025 </table> 0026 0027 <br> 0028 0029 <%= link_to "New book", new_book_path %> 0030 0031 <!-- GDL input --> 0032 <% code %Q: text \: text : code %>