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.1.7 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.1.6 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.1.5 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.1.4 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.1.3 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.1.2 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.1.1 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.1.0 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.0.9 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.0.8 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.0.5 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.0.4 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.0.3 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.0.2 app/views/auth/unlocks/create.js.erb
wordjelly-auth-0.0.8 app/views/auth/unlocks/create.js.erb
wordjelly-auth-0.0.5 app/views/auth/unlocks/create.js.erb
wordjelly-auth-0.0.4 app/views/auth/unlocks/create.js.erb
wordjelly-auth-0.0.3 app/views/auth/unlocks/create.js.erb
wordjelly-auth-0.0.1 app/views/auth/unlocks/create.js.erb