Sha256: 095ede09a775d09b731d2bd1cd4dd38d30e53c8f637ec93fda9eb8c62cb2cbd5

Contents?: true

Size: 536 Bytes

Versions: 59

Compression:

Stored size: 536 Bytes

Contents

<% if resource.errors.size > 0 %>
	<% resource.errors.each do |attrib,message| %>
		var resource_name = "<%= resource.class.name.underscore %>";
		var field_id = resource_name + "_" + "<%= attrib %>";
		invalidate_input_field(field_id,"<%= message.html_safe %>");
	<% end %>
<% else %>
	$("#login_title").hide();
	$("#login_content").html("<%= escape_javascript(render partial:'auth/modals/unlock_success_content.html.erb', locals: {resource: resource}) %>").show();
	$("#login_footer").hide();
<% end %>
open_sign_in_modal_if_closed();

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
wordjelly-auth-1.6.0 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.5.9 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.5.8 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.5.7 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.5.6 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.5.5 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.5.4 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.5.3 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.5.2 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.5.1 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.5.0 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.4.9 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.4.8 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.4.7 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.4.6 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.4.5 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.4.4 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.4.3 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.4.2 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.4.0 app/views/auth/unlocks/create.js.erb