Sha256: 9155968cbdf7849cd8bdb04821d75d01fb1d110604ed4892363c2f1ad9906249

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

<% if name.present? %><turbo-frame id="<%= name %>"><% end %>
  <%
    # When rendering the frames the flashed content gets lost.
    # By including the alerts partial, the stimulus will pick them up and display them to the user.
  %>
  <%= render Avo::AlertsComponent.new if helpers.flash.present? && name.present? %>

  <%= content %>
<% if name.present? %></turbo-frame><% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
avo-1.23.0 app/components/avo/turbo_frame_wrapper_component.html.erb