title: Add one to many in form - Backpack laravel
body: <p>I'm using <a href="https://backpackforlaravel.com/" rel="noreferrer">Backpack for Laravel</a> to provide the backend area of my laravel website.</p>
  
  <p>I'm having the following <strong>tables</strong> in my database structure:</p>
  
  <p><a href="https://i.stack.imgur.com/LHgMM.png" rel="noreferrer"><img src="https://i.stack.imgur.com/LHgMM.png" alt="enter image description here"></a></p>
  
  <p>This is to add sets to a match, and add matches to a tournament.</p>
  
  <p>These are my <strong>Models</strong>:</p>
  
  <p><em>Tournament Model:</em></p>
  
  <pre><code>&lt;?php
  
  namespace App\Models;
  
  use Illuminate\Database\Eloquent\Model;
  use Backpack\CRUD\CrudTrait;
  
  class Tournament extends Model
  {
      use CrudTrait;
  
       /*
      |--------------------------------------------------------------------------
      | GLOBAL VARIABLES
      |--------------------------------------------------------------------------
      */
  
      protected $fillable = ['from', 'to', 'type', 'location', 'place'];
  
      /*
      |--------------------------------------------------------------------------
      | RELATIONS
      |--------------------------------------------------------------------------
      */
  
      public function matches()
      {
          return $this-&gt;hasMany('App\Models\Match');
      }
  }
  </code></pre>
  
  <p><em>Match Model:</em></p>
  
  <pre><code>&lt;?php
  
  namespace App\Models;
  
  use Illuminate\Database\Eloquent\Model;
  use Backpack\CRUD\CrudTrait;
  
  class Match extends Model
  {
      use CrudTrait;
  
       /*
      |--------------------------------------------------------------------------
      | GLOBAL VARIABLES
      |--------------------------------------------------------------------------
      */
  
      protected $table = 'matches';
  
      protected $fillable = ['opponent'];
  
      /*
      |--------------------------------------------------------------------------
      | RELATIONS
      |--------------------------------------------------------------------------
      */
  
      public function sets()
      {
          return $this-&gt;hasMany('App\Models\Set');
      }
  }
  </code></pre>
  
  <p><em>Set Model:</em></p>
  
  <pre><code>&lt;?php
  
  namespace App\Models;
  
  use Illuminate\Database\Eloquent\Model;
  use Backpack\CRUD\CrudTrait;
  
  class Set extends Model
  {
      use CrudTrait;
  
       /*
      |--------------------------------------------------------------------------
      | GLOBAL VARIABLES
      |--------------------------------------------------------------------------
      */
  
      protected $fillable = ['self', 'opponent', 'index'];
  
      public function match()
      {
          return $this-&gt;belongsTo('App\Models\Match');
      }
  }
  </code></pre>
  
  <p>Now I would like to have the following when I create a Tournament in backend:</p>
  
  <p><a href="https://i.stack.imgur.com/frOXc.png" rel="noreferrer"><img src="https://i.stack.imgur.com/frOXc.png" alt="enter image description here"></a></p>
  
  <p>I can already set from, to, type, location and place. But now I would like the possibility to add a match and add sets to that match. This all on one page.</p>
  
  <p>But I'm a bit stuck on how to do this. Can someone help me on my way?</p>