<div class="infowindow">
  <h3><%= location.name %></h3>
  <p><%= location.address %></p>
  <%= image_tag(location.icon.url(:map_icon)) %>
  <ul class="no-bullet">
    <li><%= number_to_phone(location.phone, area_code: true) %></li>
    <li><%= link_to("Website", location.website, :target => "_blank") %></a></li>
    <li><%= link_to("Get Directions", "https://www.google.com/maps/dir/Current+Location/#{location.latitude},#{location.longitude}", :target => "_blank") %></li>
  </ul>
  <p class="text-left"><%= location.description %> </p>
  <%= link_to_if(location.coupon_url?, "Print Coupon", location.coupon_url, class: "button radius button right") %>


</div>

<div class="infowindow">
  <h3><%= location.name %></h3>
  <p><%= location.address %></p>
  <%= image_tag(location.icon.url(:map_icon)) %>
  <ul class="no-bullet">
    <li><%= number_to_phone(location.phone, area_code: true) %></li>
    <li><%= link_to("Website", location.website, :target => "_blank") %></a></li>
    <li><%= link_to("Get Directions", "https://www.google.com/maps/dir/Current+Location/#{location.latitude},#{location.longitude}", :target => "_blank") %></li>
  </ul>
  <p class="text-left"><%= location.description %> </p>
  <% unless location.coupon_url.empty? %>
    <%= link_to("Print Coupon", location.coupon_url, class: "button radius button right") %>
  <% end %>


</div>

Resolve print coupon button issue
Resolve print coupon button issue
