Warning, /frameworks/syntax-highlighting/autotests/folding/highlight.rhtml.fold is written in an unsupported language. File is not indexed.
0001 <beginfold id='1'><!--</beginfold id='1'> Ruby/Rails/RHTML Example <endfold id='1'>--></endfold id='1'> 0002 0003 <h1>Listing Books</h1> 0004 0005 <beginfold id='2'><table</beginfold id='2'>> 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 <beginfold id='3'>do</beginfold id='3'> |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: <beginfold id='3'>{</beginfold id='3'> confirm: "Are you sure?" <endfold id='3'>}</endfold id='3'> %></td> 0022 </tr> 0023 <% <endfold id='3'>end</endfold id='3'> %> 0024 </tbody> 0025 <endfold id='2'></table</endfold id='2'>> 0026 0027 <br> 0028 0029 <%= link_to "New book", new_book_path %> 0030 0031 <beginfold id='1'><!--</beginfold id='1'> GDL input <endfold id='1'>--></endfold id='1'> 0032 <% code<beginfold id='4'> %</beginfold id='4'>Q: text \: text<endfold id='4'> :</endfold id='4'> code %>