clicking on create button and having the create view appear on current view page
I have a project that has a request form with number render partials of view page. Within the render partials is a create record button which allows the user to create a record in a certain model. I’ve been trying to get the create view page to appear on the request form page when clicking on the create record button. I’m not sure if having 2 partialasyncs on the same view are my issue but it’s not appearing as I’d like. In the picture you’ll see that the create view appears when loading the request form, I want the create page to only appear after clicking the create record button. Any help would be great and my code is below.