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