Sha256: 69ac9fd188921a89111740c504d29265e2e0c20872b2ca19aed53c7643007540

Contents?: true

Size: 316 Bytes

Versions: 18

Compression:

Stored size: 316 Bytes

Contents

<% resource = (@_effective_resource || Effective::Resource.new(controller_path)) %>
<% @resource = instance_variable_get('@' + resource.name) if resource.name %>

EffectiveForm.remote_form_payload = $("<div><%= j render_resource_form(resource) %></div>");
EffectiveForm.remote_form_flash = <%= raw flash.to_json %>;

Version data entries

18 entries across 6 versions & 1 rubygems

Version Path
effective_resources-0.8.12 app/views/application/update.js.erb
effective_resources-0.8.12 app/views/application/create.js.erb
effective_resources-0.8.12 app/views/application/destroy.js.erb
effective_resources-0.8.11 app/views/application/destroy.js.erb
effective_resources-0.8.11 app/views/application/create.js.erb
effective_resources-0.8.11 app/views/application/update.js.erb
effective_resources-0.8.10 app/views/application/create.js.erb
effective_resources-0.8.10 app/views/application/update.js.erb
effective_resources-0.8.10 app/views/application/destroy.js.erb
effective_resources-0.8.9 app/views/application/update.js.erb
effective_resources-0.8.9 app/views/application/create.js.erb
effective_resources-0.8.9 app/views/application/destroy.js.erb
effective_resources-0.8.8 app/views/application/create.js.erb
effective_resources-0.8.8 app/views/application/destroy.js.erb
effective_resources-0.8.8 app/views/application/update.js.erb
effective_resources-0.8.7 app/views/application/create.js.erb
effective_resources-0.8.7 app/views/application/destroy.js.erb
effective_resources-0.8.7 app/views/application/update.js.erb