In a CRUD app how do you deal with editing a item (entity) with a lot of relationships? I&#x27;m talking about UI patterns and maybe some tips.<p>Right now I&#x27;m editing the item relationships in a modal window and they are listed on the same page using DataTables (http:&#x2F;&#x2F;datatables.net). I kinda like recreated their commercial editor plugin using Bootstrap modals.<p>I&#x27;m trying to avoid JS as much as possible but it&#x27;s hard. I have a RESTful API and I would like to render HTML server-side but is not viable for things like this. In the past I used Mustache in a few projects.<p>What I have right now:<p>- Company (the item)
- Company contacts
- Company products
- Company events<p>And more. I&#x27;m having a really bad time making it good both in mobile and desktop. Even the bootstrap 3 modal doesn&#x27;t work 100% on a few devices.<p>Don&#x27;t get me wrong, I can make it &quot;work&quot; but I don&#x27;t feel like it&#x27;s a good experience.<p>It&#x27;s hard to do this as a single dev. Why can&#x27;t the users just use my API directly! (I&#x27;m only half joking hah)
Ask HN: Editing relationships in a CRUD app