$(document).ready(function () {
$('#emailLogin').on('click', function () {
$('.facebookLogin').fadeOut(250, function () {
$('.emailLogin').fadeIn(500);
});
});
$('#facebookLogin').on('click', function () {
$('.emailLogin').fadeOut(250, function () {
$('.facebookLogin').fadeIn(500);
});
});
});
$(document).ready(function () {
$('#login_form').bootstrapValidator({
message: 'This value is not valid',
feedbackIcons: {
valid: 'glyphicon glyphicon-ok',
invalid: 'glyphicon glyphicon-remove',
validating: 'glyphicon glyphicon-refresh'
},
fields: {
email: {
message: 'The email name is not valid',
validators: {
notEmpty: {
message: 'Your email is required and cannot be empty'
},
emailAddress: {
message: 'The value is not a valid email address'
}
}
},
password: {
validators: {