Sha256: 53e1d6b5bb9c52dc8c07c83d1491cd1928f123a366a82a28f19d9a71f2913ef0

Contents?: true

Size: 187 Bytes

Versions: 2

Compression:

Stored size: 187 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

2 entries across 2 versions & 1 rubygems

Version Path
fe-1.0.0 app/views/fe/admin/elements/error.js.erb
fe-0.0.4 app/views/fe/admin/elements/error.js.erb