This commit is contained in:
Nicolas Bally 2019-08-26 16:26:46 +02:00
parent b456490186
commit 716f6fe1c8
2 changed files with 12 additions and 3 deletions

View File

@ -106,6 +106,15 @@
:javascript
$("form").validationEngine();
$("form").submit(function(event) {
var recaptcha = $("#g-recaptcha-response").val();
if (recaptcha === "") {
event.preventDefault();
alert("Merci de cliquer sur la case 'Je ne suis pas un robot.'");
}
});
%p Un commercial pourra au besoin vous rencontrer sur toute la France.

View File

@ -1,11 +1,11 @@
set :application, 'luxlaverie3_app'
set :domain, 'luxlaverie3.quartz.xyz'
set :domain, 'luxlaverie.com'
set :user, 'web'
set :scm_user, "git"
set :scm_host, "gitlab.quartz.xyz"
set :scm_host, "quartz.snlab.fr"
@ -33,7 +33,7 @@ set :application, 'luxlaverie3_app'
set :scm, :git
set :repository, "#{scm_user}@#{scm_host}:nbally/#{application}.git"
set :repository, "#{scm_user}@#{scm_host}:nicolas/#{application}.git"
set :branch, "master"