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

Version Path
avo-3.3.6 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.3.5 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.3.4 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.3.3 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.3.2 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.3.1 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.3.0 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.2.3 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.2.2 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.2.1 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.2.0 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.1.7 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.1.6 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.1.5 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.1.4 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.1.3 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.1.2 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.1.1 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.1.0 app/views/avo/base/create_fail_action.turbo_stream.erb
avo-3.0.8 app/views/avo/base/create_fail_action.turbo_stream.erb