Sha256: 70dbe5c1924f110fa1f42f60fbc30d88174f7a7609ab5ac7d1b21c89eb05f788
Contents?: true
Size: 412 Bytes
Versions: 46
Compression:
Stored size: 412 Bytes
Contents
<%= turbo_stream.replace(frame_id(@resource), template: "avo/base/new") %> <%= turbo_stream.append "alerts" do %> <%= render Avo::FlashAlertsComponent.new flashes: flash %> <% end %> <% if @record.errors.any? %> <%= turbo_stream.append("alerts") do %> <% @record.errors.full_messages.each do |message| %> <%= render Avo::AlertComponent.new :error, message %> <% end %> <% end %> <% end %>
Version data entries
46 entries across 46 versions & 1 rubygems