I am using trestle for admin in a Rails project.
I have Teachers with many Students. There is a proper has_many and belongs_to association. I have everything working nicely in tabs, In one tab I have teacher information and in the other tab I want to display all their students. I have tried coding by guessing because there are no docs, and I have gotten nowhere. But here.
Trestle.resource(:teachers) do
...
form do |teacher|
tab :general do
text_field :name
...(this all works fine)
end
tab :students do
(can't get anything working)
end
...
Thanks for any suggestions.