<div class="legend-toggle">
  <strong>
    <%= (isOpen) ?
      '<span class="legend-open">Legend <i class="fa fa-arrow-circle-right"></i></span>' :
      '<span class="legend-closed"><i class="fa fa-arrow-circle-left"></i></span>'
    %>
  </strong>
</div>