feat: add missing KF6 framework recipes
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<!-- 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 %>
|
||||
Reference in New Issue
Block a user