iboard / phoenix_master_detail_form_example

How Phoenix.Form works with master/detail relations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jukebox

A simple POC to play around with master/detail in forms

Jukebox

  • Has Albums

Album

  • Has Tracks

The Album Edit form provides a list of all existing tracks and fields to add a new track.

Each existing track has a link to delete the track The fields for a new track are removed if not used/filled out.

About

How Phoenix.Form works with master/detail relations


Languages

Language:Elixir 67.8%Language:CSS 19.5%Language:JavaScript 6.9%Language:HTML 5.8%