Sha256: 7daa076bb66adab995d0fcee349e2e4430f3bda4cb018b5245752efe4ff781d2

Contents?: true

Size: 437 Bytes

Versions: 288

Compression:

Stored size: 437 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

288 entries across 288 versions & 1 rubygems

Version Path
avo-2.53.0 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-2.52.0 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.10.6 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.10.5 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.10.4 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.10.3 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.10.2 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.10.1 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.10.0 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.9.2 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.9.1 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.8.2 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.9.0 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.8.1 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.8.0 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.6.4 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.6.3 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.6.2 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-2.49.0 app/components/avo/turbo_frame_wrapper_component.html.erb
avo-3.6.1 app/components/avo/turbo_frame_wrapper_component.html.erb