Baen
How this page is built
the gem renders it — this is all you write
The publisher as a definition list, plus its books as an embedded static collection (query: :static) using the :compact fieldset.
app/views/publishers/show.html.erb
<%= crud_record @publisher %>
<%= crud_collection @publisher.books, fieldset: :compact, query: :static %>
Read more: Record view · Fieldsets
- Id
- 70
- Name
- Baen
- Slug
- baen
- Founded on
- 1983-01-01
- Created at
- 27 Jun 16:54
- Updated at
- 27 Jun 16:54
- Brochure
- —
- Books
- The Ancient Ocean 17, The Ancient Ocean 19, The Hidden Door 22, The Endless Tower 30, The Ancient Mirror 56, The Broken Dune 63, The Luminous Ocean 64, The Ancient Signal 88, The Hidden Door 95, The Luminous Empire 97
Books (association collection → nested edit routes)
Filterable list| Title | Price | ||
|---|---|---|---|
| The Ancient Ocean 17 | 34.01 € | ||
| The Ancient Ocean 19 | 43.54 € | ||
| The Hidden Door 22 | 30.21 € | ||
| The Endless Tower 30 | 38.98 € | ||
| The Ancient Mirror 56 | 37.08 € | ||
| The Broken Dune 63 | 6.27 € | ||
| The Luminous Ocean 64 | 33.85 € | ||
| The Ancient Signal 88 | 19.15 € | ||
| The Hidden Door 95 | 21.22 € | ||
| The Luminous Empire 97 | 13.61 € | ||