I have 3 models:
City: id, name
Author: id, city_id, firstname, lastname
Book: id, author_id, title, year, description, modified
I would need a backbone.js view as follows (imagine bootstrap html) -
in the page of city 42 I get following view:
------------------------------------------------------------------------------
City #42
======
Author 1
- Book #1, Author 1, Year, Description, modified
- Book #2, Author 1, Year, Description, modified
Author 2
- Book #3, Author 2, Year, Description, modified
Author 3
- Book #4, Author 3, Year, Description, modified
- Book #5, Author 3, Year, Description, modified
- Book #6, Author 3, Year, Description, modified
------------------------------------------------------------------------------
I want to be able to click on the year lets say and edit it inline. When I save the row needs to update because there are fields that update and need to be refreshed in the view.
If I change the Author 3 to Author 4, the 3rd group needs to update because there is a reference to the Author there.
[login to view URL]