Sha256: 885052a6d1be9f8fdc83d751d0291e532655cb1620f35ebc7a208f48d30ad873
Contents?: true
Size: 598 Bytes
Versions: 7
Compression:
Stored size: 598 Bytes
Contents
<% resource = (@_effective_resource || Effective::Resource.new(controller_path)) %> <% @resource = instance_variable_get('@' + resource.name) if resource.name %> <% unless params[:_datatable_action] %> EffectiveForm.remote_form_payload = "<%= j render_resource_form(@resource, action: action) %>"; <% end %> EffectiveForm.remote_form_flash = <%= raw flash.to_json %>; <% if @resource.respond_to?(:refresh_datatables) && @resource.refresh_datatables.present? %> EffectiveForm.remote_form_refresh_datatables = <%= raw Array(@resource.refresh_datatables).uniq.compact.map(&:to_s) %>; <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems