<table class="table table-bordered">
  <tbody>
      <tr>
        <td>
          <div class="row">
            <div class="col-md-12">
              <% if partner.logo.attached? %>
              <% b64 = open(ActiveStorage::Blob.service.path_for(partner.logo.key)) { |f| f.read }  %>
              <% b64a = Base64.strict_encode64(b64) %>
              <img src="data:image/jpeg;base64,<%= b64a %>" height="40px"/>
              <% end %>
            </div>
          </div>
        </td>
        <td><%= raw simple_format(partner.description) %></td>
      </tr>
  </tbody>
</table>
