Sha256: 845732dcda9e6f89a3ed7112ebaf6013818e7d40bf3240290ae55962df9b1368

Contents?: true

Size: 319 Bytes

Versions: 4

Compression:

Stored size: 319 Bytes

Contents

//LoginForm validation
$(function() {
	if (!$('.form-control').length) {
        return false;
    }

    $('.form-control').focus(function() {
		$(this).siblings('.input-group-addon').addClass('focus');
	});

	$('.form-control').blur(function() {
		$(this).siblings('.input-group-addon').removeClass('focus');
	});
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_modular_admin-0.2.4 app/assets/javascripts/rails_modular_admin/app/forms/input-groups/input-groups.js
rails_modular_admin-0.2.3 app/assets/javascripts/rails_modular_admin/app/forms/input-groups/input-groups.js
rails_modular_admin-0.2.2 app/assets/javascripts/rails_modular_admin/app/forms/input-groups/input-groups.js
rails_modular_admin-0.2.0 app/assets/javascripts/rails_modular_admin/app/forms/input-groups/input-groups.js