Sha256: c10273060d6f6fb2c08f212c4891cf6f28a6117b37eac6b1fffc57cb2dc60446

Contents?: true

Size: 364 Bytes

Versions: 598

Compression:

Stored size: 364 Bytes

Contents

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

EffectiveForm.remote_form_payload = "<%= j render_resource_form(@resource) %>";
EffectiveForm.remote_form_commit = "<%= params[:commit] %>";
EffectiveForm.remote_form_flash = <%= raw flash.to_json %>;

Version data entries

598 entries across 299 versions & 1 rubygems

Version Path
effective_resources-1.7.3 app/views/application/new.js.erb
effective_resources-1.7.3 app/views/application/edit.js.erb
effective_resources-1.7.2 app/views/application/edit.js.erb
effective_resources-1.7.2 app/views/application/new.js.erb
effective_resources-1.7.1 app/views/application/edit.js.erb
effective_resources-1.7.1 app/views/application/new.js.erb
effective_resources-1.7.0 app/views/application/edit.js.erb
effective_resources-1.7.0 app/views/application/new.js.erb
effective_resources-1.6.6 app/views/application/edit.js.erb
effective_resources-1.6.6 app/views/application/new.js.erb
effective_resources-1.6.5 app/views/application/new.js.erb
effective_resources-1.6.5 app/views/application/edit.js.erb
effective_resources-1.6.4 app/views/application/new.js.erb
effective_resources-1.6.4 app/views/application/edit.js.erb
effective_resources-1.6.3 app/views/application/edit.js.erb
effective_resources-1.6.3 app/views/application/new.js.erb
effective_resources-1.6.2 app/views/application/edit.js.erb
effective_resources-1.6.2 app/views/application/new.js.erb
effective_resources-1.6.1 app/views/application/edit.js.erb
effective_resources-1.6.1 app/views/application/new.js.erb