Sha256: 08aa02d933db70c2240b358a05658696f25dd2cff4aac088bedae187e190bfac

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

<% message = flash[:notice] || flash[:alert] %>
<% flash.delete(:notice); flash.delete(:alert) %>
<% alert = message.present? ? "alert('#{message}');" : '' %>

<% unless @page_module.persisted? %>
  $("#page_modules_row_<%= @page_module.id %>").remove();
<% end %>

<%= raw alert %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
home_page-0.0.6 app/views/page_modules/destroy.js.erb