I'm not sure how to do this, but another option is to make it a pop over
window on top of the map like when you register a new handout kit.  That
would look a lot nicer I bet.


On Tue, Apr 8, 2014 at 3:49 PM, adamrp <notifications@github.com> wrote:

> In www/americangut/forgot_password.psp:
>
> > +
> > +<div class="content">
> > +
> > +<hr/>
> > +
> > +
> > +<br/>
> > +
> > +<%
> > +agDataAccess= data_access_factory(ServerConfig.data_access_type, 'american_gut')
> > +#if the form has new_password and confirm_password we want to change the password
> > +if form.has_key('new_password') and form.has_key('confirm_password'):
> > +    new_password = form['new_password'];
> > +    confirm_password = form['confirm_password']
> > +    if new_password != confirm_password:
> > +        req.write('Passwords did not match, please try again')
>
> This page is a little sparse. Can you please add a link to go back to try
> again? Or, even better, display this message and then highlight the text
> boxes. See new_participant.psp (and the consent checkbox) and the
> validateConsent javascript function for an example. @ElDeveloper<https://github.com/ElDeveloper>,
> what do you think would be a good thing to do here?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/qiime/qiime_web_app/pull/607/files#r11413618>
> .
>