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-2.27.2 app/views/application/new.js.erb
effective_resources-2.27.2 app/views/application/edit.js.erb
effective_resources-2.27.1 app/views/application/edit.js.erb
effective_resources-2.27.1 app/views/application/new.js.erb
effective_resources-2.27.0 app/views/application/edit.js.erb
effective_resources-2.27.0 app/views/application/new.js.erb
effective_resources-2.26.5 app/views/application/edit.js.erb
effective_resources-2.26.5 app/views/application/new.js.erb
effective_resources-2.26.4 app/views/application/edit.js.erb
effective_resources-2.26.4 app/views/application/new.js.erb
effective_resources-2.26.3 app/views/application/edit.js.erb
effective_resources-2.26.3 app/views/application/new.js.erb
effective_resources-2.26.2 app/views/application/edit.js.erb
effective_resources-2.26.2 app/views/application/new.js.erb
effective_resources-2.26.1 app/views/application/edit.js.erb
effective_resources-2.26.1 app/views/application/new.js.erb
effective_resources-2.26.0 app/views/application/edit.js.erb
effective_resources-2.26.0 app/views/application/new.js.erb
effective_resources-2.25.16 app/views/application/edit.js.erb
effective_resources-2.25.16 app/views/application/new.js.erb