Sha256: 0d34f18b8bcf1868db34d6db8f4b17f0758c58a22a0b804673790751509e69ed

Contents?: true

Size: 440 Bytes

Versions: 20

Compression:

Stored size: 440 Bytes

Contents

<% if @name.present? %><turbo-frame id="<%= @name %>"><% end %>
<%
  # When rendering the frames the flashed content gets lost.
  # We're appending it back if it's a turbo_frame_request.
%>
<% if helpers.turbo_frame_request? %>
  <%= helpers.turbo_stream_action_tag :append, target: "alerts", template: render(Avo::FlashAlertsComponent.new(flashes: helpers.flash)) %>
<% end %>
<%= content %>
<% if @name.present? %></turbo-frame><% end %>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
avo-3.15.1 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.15.0 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.14.5 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.14.4 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.14.3 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.14.2 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.14.1 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.14.0 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.13.7 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.13.6 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.13.5 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.13.4 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.13.3 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.13.2 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.13.1 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.13.0 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.12.0 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.11.10 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.11.9 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.11.8 app/components/avo/turbo_frame_wrapper_component.html.erb