Sha256: 1b45f7f3a2d4fcdde0f64885c05b15628bccbaad0f1129cb7ce6c7dd6e9cd653

Contents?: true

Size: 379 Bytes

Versions: 3

Compression:

Stored size: 379 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 partial: 'avo/partials/alerts'if flash.present? if flash.present? %>

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
avo-1.22.1.pre.1 app/views/avo/partials/_turbo_frame_wrap.html.erb
avo-1.22.0 app/views/avo/partials/_turbo_frame_wrap.html.erb
avo-1.22.0.pre.1 app/views/avo/partials/_turbo_frame_wrap.html.erb