title: Laravel Render Partial Form Submit
body: <p>Say I got a blade template (form.blade.php) which has a form that inserts data into inventory.</p>
  
  <p>I would like to share this form on another page which is being called through ajax and loads on a modal on another view (form2.blade.php)</p>
  
  <p>On form2.blade.php</p>
  
  <pre><code>&lt;!-- Modal --&gt;
  &lt;div class="modal fade" id="inventoryModal" tabindex="-1" role="dialog" data-backdrop="false" style="z-index:9999999"&gt;
    &lt;div class="modal-dialog modal-lg" role="document"&gt;
      &lt;div class="modal-content"&gt;
        &lt;div class="modal-header"&gt;
          &lt;button type="button" class="close" data-dismiss="modal" aria-label="Close"&gt;&lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;&lt;/button&gt;
          &lt;h4 class="modal-title" id="inventoryModalHeader"&gt;&lt;/h4&gt;
        &lt;/div&gt;
        &lt;div class="modal-body" id="inventoryModalBody"&gt;&lt;/div&gt;
        &lt;div class="modal-footer" id="inventoryModalFooter"&gt;
          &lt;button @click="addNewInventory()"&gt;Add New Inventory&lt;/button&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Vue function on form2.blade.php</p>
  
  <pre><code>openNewInventoryModal:function(){
                  var cur = this;
  
                  axios.get("{{url('/inventory')}}"+"/ajax")
                  .then(function (response) {
                      console.log(response);
                      $("#inventoryModalHeader").html('New Inventory');
                      $("#inventoryModalBody").html('&lt;form id="addNewInventory"&gt;'+response.data+'&lt;/form&gt;');
                      $("#inventoryModal").modal("show");
                  })
                  .catch(function (error) {
                      swal("Error", "Fatal error, please contact the admin", "error");
                  });
              },
  </code></pre>
  
  <p>Problem here is the modal is already in a form, i'm loading ajax in the form. Is there a way where i can render partial a form and submit and close the modal?</p>