Sha256: daa8a203961fcd36f1b92b91ab0bf3901ebe9d517579fa7d92bbeed9e691260d

Contents?: true

Size: 379 Bytes

Versions: 5

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? && name.present? %>

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
avo-1.22.4 app/views/avo/partials/_turbo_frame_wrap.html.erb
avo-1.22.3 app/views/avo/partials/_turbo_frame_wrap.html.erb
avo-1.22.2 app/views/avo/partials/_turbo_frame_wrap.html.erb
avo-1.22.1 app/views/avo/partials/_turbo_frame_wrap.html.erb
avo-1.22.1.pre.2 app/views/avo/partials/_turbo_frame_wrap.html.erb