-Replaced wrong parameter names since it is expected contact_us_contact[...]
-Fixed logic for when an email is valid and re-introduced the previous regex, which is compatible with contact_us gem
-Replaced disabled fields (e.g. email, name) with readonly attribute, otherwise these parameters are not send to the server

DMPRoadmap/roadmap#483
dev
1 parent f265de3 commit 8cad2dfa359e41f843adf9e6265a85a753466205
@Jose Lloret Jose Lloret authored on 7 Jul 2017
Showing 3 changed files
View
app/views/contact_us/contacts/new.html.erb
View
lib/assets/javascripts/dmproadmap/forms.js
View
lib/assets/javascripts/views/contacts/new_contact.js