aboutsummaryrefslogtreecommitdiffstats
path: root/docs/_posts/2016-12-16-v2.0-javascript-improvements.md
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2018-11-23 13:37:54 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-12-05 13:05:11 +0000
commit1c288ef2dfc1b2e57d6a51c11401e95e8c589bd4 (patch)
tree7c3fb8cbfafb1ebabd6f6095dd4d055cef8315b4 /docs/_posts/2016-12-16-v2.0-javascript-improvements.md
parentc21b8a0455ae1416887e89358b945322edd761ed (diff)
Move email input nearer password input on forms.
This moves the email input from `user_loggedout.html` closer to the password inputs in `user_loggedout_{by_email,password}.html`, because we want to emphasise the connection between your login email/username and your password, and, now that only one "Yes I have an account / No I do not have an account" fieldset is displayed at a time, there was no reason to ask for the email/username up front. This, however, now means the form includes two username inputs, so: * `Report/New.pm` and `Report/Update.pm` now pick the first non-empty username param and use that. * `user_loggedout_email.html` now expects a `name` parameter, so that we can give the two username inputs unique ids in the markup. Also: * The "optional" phone and email inputs in user_loggedout_by_email.html are printed *after* the main username input if SMS login is enabled (since one or other of them is unhidden by javascript, based on whether you entered a phone number or and email address into the "username" input, and it would look weird to have an input become unhidden *above* the input you’re currently editing).
Diffstat (limited to 'docs/_posts/2016-12-16-v2.0-javascript-improvements.md')
0 files changed, 0 insertions, 0 deletions