Added formnovalidate to back button in registration
This commit is contained in:
parent
5290b2e7df
commit
5a2dee502b
@ -126,7 +126,9 @@ module RegistrationHelper
|
||||
actions = ''
|
||||
if buttons.present?
|
||||
buttons.each do |button_name|
|
||||
actions += (button button_name, value: button_name)
|
||||
attrs = { value: button_name }
|
||||
attrs[:formnovalidate] = true if button_name == :back
|
||||
actions += (button button_name, attrs)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user