Sha256: 06bde77a68b62b5101e675227a0debcc68ac4e292be68baa2b1423c340cd8181
Contents?: true
Size: 433 Bytes
Versions: 9
Compression:
Stored size: 433 Bytes
Contents
var $offer = $('#offer_<%= @offer.id %>_body'); <% if resource.errors.any? %> $('form .errors', $offer).html("<%= escape_javascript(resource_error_messages!) %>"); <% else %> <% if @offer.kind_of?(SubscriptionOffer) %> $('form .errors', $offer).html(""); $('form .notice', $offer).html("<%= escape_javascript(@offer.success_alert_text) %>"); <% else %> window.location = "<%= public_offer_path(@offer) %>"; <% end %> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems