app/components/card/footer_component.html.erb
<%= content_tag("div", class: classes) do %>
<% if footer_content %>
<div class="card-footer-content text-muted">
<% if actions %>
<div class="col-12 d-flex justify-content-end">
<%= actions %>
</div>
<% end %>
<%= content %>
</div>
<% else %>
<%= content %>
<% end %>
<% end %>