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.3.9 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.3.8 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.3.7 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.3.6 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.3.5 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.3.3 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.3.2 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.3.1 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.3.0 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.2.9 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.2.8 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.2.6 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.2.5 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.2.4 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.2.3 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.2.2 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.2.1 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.2.0 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.1.9 app/views/auth/unlocks/create.js.erb
wordjelly-auth-1.1.8 app/views/auth/unlocks/create.js.erb