app/components/bs5/alert_component.html.erb in bs5-0.0.14 vs app/components/bs5/alert_component.html.erb in bs5-0.0.15
- old
+ new
@@ -1,6 +1,6 @@
<div class="<%= component_class %>" role="alert">
<%= content %>
<%- if is_dismissable %>
- <%= render Bs5::CloseButtonComponent.new(data: { dismiss: :alert }) %>
+ <%= render Bs5::CloseButtonComponent.new(data: { 'bs-dismiss': :alert }) %>
<%- end %>
</div>
\ No newline at end of file