Tag : multiple-submit-buttons-in-rails
While working in an assignment, I have to dealt with view where I have to re-send the verification code form the same view in which I have to accept the verification code.
As shown in the image, “Confirm” and “Resend code” both are 2 submit buttons. I need to resend another code from the same page without redirecting.
Added both the submit buttons
Handled the post action part
Categories: Ruby On Rails