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.

enter image description here

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.

  1. when hitting http://localhost:3000/users/sign_up still shows devise old signup form. want show same form registration tab activated.
  2. 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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -