ruby - How to work with tabbed signup/signin form using devise in rails -
i new whole rails environment , learning implement 'devise' gem project. have tabbed signup/signin form.
i have generated devise views , modified /app/views/devise/sessions/new.html.erb
show kind of tabbed form.now functionality wise working fine. there several issues.
- when hitting http://localhost:3000/users/sign_up still shows devise old signup form. want show same form
registration
tab activated. - on
register
tab if submit form error (empty email/password), again redirecting default device registration form show error messages.
i want rid of default registration page , want use register
tab signup purposes.
this question may sounds basic, have no idea how customize it. please help.
well, make reference comment @max answer, others take answer question.
i believe getting errors because hacking session views in devise. registration view in devise @ /app/views/devise/registrations/new.html.erb
. have refactor code away errors.
answer courtesy of @max
Comments
Post a Comment