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

Profile page doesnt post #11

Open
iruslani opened this issue May 28, 2016 · 0 comments
Open

Profile page doesnt post #11

iruslani opened this issue May 28, 2016 · 0 comments

Comments

@iruslani
Copy link

Hello all,

Trying to get this working with my heroku app. I'm using ejs instead of jade and on the profile page I have this:

<form method="post"> <fieldset action="/profile" class="form-group"> <label for="favcolor">Favorite Color</label> <input type="text" class="form-control" id="favcolor" value="<%- user.customData.favoriteColor %>" placeholder="Enter your favorite color"> <small class="text-muted">We'll never share your color with anyone else.</small> </fieldset> <fieldset class="form-group"> <label for="birthday">Password</label> <input type="text" class="form-control" id="birthday" value="<%- user.customData.birthday %>" placeholder="Enter your birthday"> </fieldset> <button type="submit" class="btn btn-primary">Submit</button> </form>

But when I click on Submit it doesn't post anything. Should there be an action pointing to the api?

Thanks.

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