How to extend vendor/magento/module-checkout/view/frontend/templates/cart/form.phtml
so I can add another button to it?
I tried it by creating my own module and copied the above file to app/code/"vendorname"/"modulename"/view/frontend/templates/form.phtml
and created an xml file app/code/"vendorname"/"modulename"/view/frontend/layout/checkout_cart_index.xml
that has the following content:
<referenceBlock name="checkout.cart">
<action method="setTemplate">
<argument name="template" xsi:type="string">Rampart_Core::form.phtml</argument>
</action>
</referenceBlock>
But it override the cart page and display only a portion of the original-cart page
whereas I want to add button to existing cart page.