You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if the user enters a bogus zip we redirect to the main page and the "description" field is blank. It'd be nice if we repopulated it with whatever they typed before.
Rails has some built-in ways to do this but since we're not using ActiveRecord form helpers -- just the base form_tag helper -- these may not be available. But it'd be pretty easy to stash it in the session and retrieve it (and clear it) after the redirect.
The text was updated successfully, but these errors were encountered:
Currently if the user enters a bogus zip we redirect to the main page and the "description" field is blank. It'd be nice if we repopulated it with whatever they typed before.
Rails has some built-in ways to do this but since we're not using ActiveRecord form helpers -- just the base
form_tag
helper -- these may not be available. But it'd be pretty easy to stash it in the session and retrieve it (and clear it) after the redirect.The text was updated successfully, but these errors were encountered: