From d98bae4aeeb63dff2be16e2718aa643d1f8eb220 Mon Sep 17 00:00:00 2001 From: utvk Date: Sat, 17 Dec 2016 15:17:39 +0100 Subject: Revert "Removed captcha on signup" This reverts commit 639b70aae5e68e52745d58052d330809c5d87344. --- lib/views/user/_signup.html.erb | 52 ----------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 lib/views/user/_signup.html.erb (limited to 'lib') diff --git a/lib/views/user/_signup.html.erb b/lib/views/user/_signup.html.erb deleted file mode 100644 index e6ff507..0000000 --- a/lib/views/user/_signup.html.erb +++ /dev/null @@ -1,52 +0,0 @@ -
- <%= form_tag({:action => "signup"}, {:id => "signup_form"}) do %> - <%= foi_error_messages_for :user_signup %> - - - -

- - <%= text_field 'user_signup', 'name', { :size => 20, :tabindex => 10, :autocomplete => "off" } %> -

- -
- <%= _('Your name will appear publicly ' \ - '(why?) on this website and in search ' \ - 'engines. Thinking of using a ' \ - 'pseudonym?', - :why_url => (help_privacy_path+"#public_request").html_safe, - :help_url => (help_privacy_path+"#real_name").html_safe) %> -
- -

- - <%= text_field 'user_signup', 'email', { :size => 20, :tabindex => 20 } %> -

- -
- <%= _('We will not reveal your email address to anybody unless ' \ - 'you or the law tell us to.', - :url => help_privacy_path) %> -
- -

- - <%= password_field 'user_signup', 'password', { :size => 15, :tabindex => 30, :autocomplete => "off" } %> -

- -

- - <%= password_field 'user_signup', 'password_confirmation', { :size => 15, :tabindex => 40, :autocomplete => "off" } %> -

- - <% if @request_from_foreign_country %> - <%= recaptcha_tags %> - <% end %> - -
- <%= hidden_field_tag 'token', params[:token], {:id => 'signup_token' } %> - <%= hidden_field_tag :modal, params[:modal], {:id => 'signup_modal' } %> - <%= submit_tag _('Sign up'), :tabindex => 50, :disable_with => _("Sending...") %> -
- <% end %> -
-- cgit v1.2.3