Render as html from a remote link on Rails
- by francordie
On my registration form i want to show a modal (of twitter-bootstrap) when the user has a successfull signup to tell him to check his email so i put "remote: true" on my form and render a .js.erb wich shows the modal, on my controller.
BUT, in case of inputs errors i need to render the page as html to refresh de form showing those errors.
Can I…