Files
RedBear-OS/local/recipes/kde/kf6-syntaxhighlighting/source/autotests/input/highlight.rhtml
T

33 lines
661 B
Plaintext

<!-- Ruby/Rails/RHTML Example -->
<h1>Listing Books</h1>
<table>
<thead>
<tr>
<th>Title</th>
<th>Content</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @books.each do |book| %>
<tr>
<td><%= book.title %></td>
<td><%= book.content %></td>
<td><%= link_to "Show", book %></td>
<td><%= link_to "Edit", edit_book_path(book) %></td>
<td><%= link_to "Destroy", book, method: :delete, data: { confirm: "Are you sure?" } %></td>
</tr>
<% end %>
</tbody>
</table>
<br>
<%= link_to "New book", new_book_path %>
<!-- GDL input -->
<% code %Q: text \: text : code %>