Sha256: cf6cc87ee92bf74e40b4c9764940f2fb92340efb9d70112e26d864a1c3d38c92

Contents?: true

Size: 414 Bytes

Versions: 1

Compression:

Stored size: 414 Bytes

Contents

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

$("#page_module_collections_row_<%= @page_module_collection.id %>").replaceWith("<%= escape_javascript(
  render(
    partial: 'page_module_collections/page_module_collection', locals: { page_module_collection: @page_module_collection }
  ) 
) %>");
$('#modal').modal('hide');
<%= raw alert %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
home_page-0.0.6 app/views/page_module_collections/update.js.erb