title: How to get applied coupon details in magento 2.1
body: <p>I need to get applied coupon details in cart <strong>form.phtml</strong></p>
  
  <pre><code>/app/design/frontend/Vendor/Theme/Magento_Checkout/templates/cart
  </code></pre>
  
  <p>In this path we have shopping cart files are there like <strong>coupon.html, form.html</strong></p>
  
  <p>In a coupon.html file we have code to get coupon</p>
  
  <pre><code> $block-&gt;escapeHtml($block-&gt;getCouponCode()) 
  </code></pre>
  
  <p>How to get this coupon detail in other <strong>phtml</strong> file <strong>form.phtml</strong></p>