Sha256: 89d2b1bc5d6fe731005b0598e5ee194747dd4e79047eb1c17fbcef89f245a6ff

Contents?: true

Size: 184 Bytes

Versions: 18

Compression:

Stored size: 184 Bytes

Contents

$('#errors').html('<%= escape_javascript(render("errors", element: @element)) %>')
<% @element.errors.each do |attr_name, message| %> 
  addError('element_<%= attr_name %>')
<% end %>

Version data entries

18 entries across 13 versions & 1 rubygems

Version Path
fe-2.1.5 app/views/fe/admin/elements/error.js.erb
fe-2.1.4 app/views/fe/admin/elements/error.js.erb
fe-2.1.3 app/views/fe/admin/elements/error.js.erb
fe-2.1.2 app/views/fe/admin/elements/error.js.erb
fe-2.1.1 app/views/fe/admin/elements/error.js.erb
fe-2.0.8 app/views/fe/admin/elements/error.js.erb
fe-2.0.6 app/views/fe/admin/elements/error.js.erb
fe-2.0.5 app/views/fe/admin/elements/error.js.erb
fe-2.0.4 app/views/fe/admin/elements/error.js.erb
fe-2.0.4 app/views.current/fe/admin/elements/error.js.erb
fe-2.0.3 app/views/fe/admin/elements/error.js.erb
fe-2.0.3 app/views.current/fe/admin/elements/error.js.erb
fe-2.0.2 app/views/fe/admin/elements/error.js.erb
fe-2.0.2 app/views.current/fe/admin/elements/error.js.erb
fe-2.0.1 app/views.current/fe/admin/elements/error.js.erb
fe-2.0.1 app/views/fe/admin/elements/error.js.erb
fe-2.0.0 app/views/fe/admin/elements/error.js.erb
fe-2.0.0 app/views.current/fe/admin/elements/error.js.erb