From 65384b29138e9f7e29cb818b02c48e965e007704 Mon Sep 17 00:00:00 2001 From: Michael Q Larson Date: Sat, 24 Jan 2015 15:20:48 -0800 Subject: [PATCH] add @ sign and autofocus to twitter form --- views/bonfire/show.jade | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/views/bonfire/show.jade b/views/bonfire/show.jade index 2145bac009..39bf14d496 100644 --- a/views/bonfire/show.jade +++ b/views/bonfire/show.jade @@ -65,7 +65,11 @@ block content .form-group.text-center label(for="existingUserName") If you paired with someone, enter their username here. .col-xs-10.col-xs-offset-1.col-sm-8.col-sm-offset-2.col-md-8.col-md-offset-2 - input.form-control#completed-with(name="existingUser", placeholder='Otherwise just leave it blank', existing-username='', ng-model="existingUser") + .input-group.twitter-input + // extra field to distract password tools like lastpass from injecting css into our username field + input.form-control(ng-show="false") + span.input-group-addon @ + input.form-control#completed-with(name="existingUser", placeholder='Otherwise just leave it blank', existing-username='', ng-model="existingUser", autofocus) .col-xs-10.col-xs-offset-1.col-sm-8.col-sm-offset-2.col-md-8.col-md-offset-2(ng-show="completedWithForm.$error.exists && !completedWithForm.existingUser.$pristine") alert(type='danger') span.ion-close-circled