<?php if( !empty($case->pardot_form) && !empty($case->pardot_file) ): ?>

<div class="reveal" id="pardot-modal" data-reveal data-animation-in="fade-in" data-animation-out="fade-out" style="height:325px; min-height:325px;">
  <iframe id="pardot-frame" src="/pardot-frame/<?php echo $case->slug;?>" width="100%" height="100%" frameborder="0"></iframe>
  <button class="close-button" data-close aria-label="Close reveal" type="button">
    <span aria-hidden="true">&times;</span>
  </button>
</div>

<?php endif;?>
