Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automate list of US states for addresses #66

Open
samschurter opened this issue Feb 15, 2018 · 1 comment
Open

automate list of US states for addresses #66

samschurter opened this issue Feb 15, 2018 · 1 comment

Comments

@samschurter
Copy link
Collaborator

In userC.go, read the list from a json file and store it in a map.

In new.gohtml, use the map to populate the select tag with each state, and if there is a Person.Address object, use that to select the state that was previously selected.

@samschurter
Copy link
Collaborator Author

list available here: https://gist.github.com/mshafrir/2646763

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant