Skip to content

Instantly share code, notes, and snippets.

@sagive
Last active August 29, 2015 14:10
Show Gist options
  • Save sagive/24977c11abe8b534a7a4 to your computer and use it in GitHub Desktop.
Save sagive/24977c11abe8b534a7a4 to your computer and use it in GitHub Desktop.
grabbing the login form fields
jQuery(function($){
$('#loginform br').remove();
$('input#user_login').parent().parent().replaceWith('<div class="col-md-6"><input type="text" name="log" id="user_login" class="input" value="" size="20" placeholder="Username"></div>');
$('input#user_pass').parent().parent().replaceWith('<div class="col-md-6"><input type="password" name="pwd" id="user_pass" class="input" value="" size="20" placeholder="Password"></div> <div class="clearfix"></div>');
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment