title: how to show 2 form from same table in search
body: <p>I want to ask, how to show 2 forms from the same table with a related table in yii2, </p>
  
  <p><a href="https://i.stack.imgur.com/Mr6Pn.png" rel="nofollow noreferrer">example</a></p>
  
  <pre><code>&lt;?php
      $label1 = app\models\AppFieldConfigSearch::getLabelName(Location::tableName(), "Location");
      ?&gt;
      &lt;?= $form-&gt;field($model, 'id_location')-&gt;label($label1) ?&gt;
  
  
      &lt;?php
          $label1 = app\models\AppFieldConfigSearch::getLabelName(LocationUnit::tableName(), "label1");
      ?&gt;
      &lt;?= $form-&gt;field($model, 'label1')-&gt;label($label1) ?&gt;
  
      &lt;?php $dataListAssetMaster2 = ArrayHelper::map(Owner::find()-&gt;asArray()-&gt;all(), 'id_owner', 'name');
      echo $form-&gt;field($model, 'id_owner')-&gt;widget(Select2::classname(), [
          'data' =&gt; $dataListAssetMaster2,
          'pluginOptions' =&gt; [
              'allowClear' =&gt; true
          ],
          'options' =&gt; [
              'prompt' =&gt; 'Pilih Nama']
      ])-&gt;label("Name");
      ?&gt;
      &lt;?php $dataListAssetMaster4 = ArrayHelper::map(Location::find()-&gt;asArray()-&gt;all(), 'id_location', 'address');
      echo $form-&gt;field($model, 'id_location')-&gt;widget(Select2::classname(), [
          'data' =&gt; $dataListAssetMaster4,
          'pluginOptions' =&gt; [
              'allowClear' =&gt; true
          ],
          'options' =&gt; [
              'prompt' =&gt; 'Status Pembebasan']
      ])-&gt;label("location address");
  </code></pre>
  
  <p>//       my search model</p>
  
  <pre><code>public function rules()
  {
      return [
          [['id_location_unit', 'id_location', 'id_owner','id_mst_status1'], 'integer'],
          [['label1', 'label2', 'label3', 'keterangan1', 'keterangan2', 'keterangan3','address'], 'safe'],
      ];
  }
  </code></pre>
  
  <p><strong>I want to display the same 2 tables on 1 search form, but I have a problem when I use the code, one of the forms does not appear</strong></p>