<p class="alert alert-info"><%= edl_events_data[:info_message] %></p>
<% if edl_events_data[:edl_events].any? %>
  <div class="text-right">
    <%= link_to "Show/Hide EDL Events", "javascript:void(0)", class: "btn btn-sm btn-primary mb-1", data: { toggle: "collapse", target: "#edl_events" } %>
  </div>
  <ul id="edl_events" class="list-group my-2 small collapse">
    <% edl_events_data[:edl_events].each do |edl_event| %>
      <li class="list-group-item" data-behavior="fillable-fields" data-target="#<%= model_name %>_fields">
        <dl class="row mb-0">
          <% edl_event.public_attributes.each do |name, value| %>
            <dt class="col-sm-5"><%= name.to_s.titleize %></dt>
            <dd class="col-sm-7 text-wrap text-break" data-fillable-field="<%= model_name %>[<%= name %>]"><%= value %></dd>
          <% end %>
        </dl>
      </li>
    <% end %>
  </ul>
<% end %>
