Sha256: 849e66b3f33e690058028c9cefee56d8c4761f67f89c2ddf86175b1c37023d37

Contents?: true

Size: 218 Bytes

Versions: 2

Compression:

Stored size: 218 Bytes

Contents

if ($(".modal-body .panel-danger").length) {
  $("#create-feature .modal-body .panel-danger").replaceWith("<%= j render "errors" %>");
} else {
  $("#create-feature .modal-body").prepend("<%= j render "errors" %>");
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
detour-0.0.3 app/views/detour/features/error.js.erb
detour-0.0.2 app/views/detour/features/error.js.erb