diff --git a/app/views/account/_signup_form.rhtml b/app/views/account/_signup_form.rhtml index cd9b576..54366f9 100644 --- a/app/views/account/_signup_form.rhtml +++ b/app/views/account/_signup_form.rhtml @@ -12,6 +12,7 @@ <% labelled_form_for :user, @user, :html => { :help=>_('Fill all this fields to join in this environment.

If you forgot your password, do not create a new account, click on the "I forgot my password!" link. ;-)'), :id => 'profile-data' } do |f| -%> +<%= icaptcha_field() %> <%= hidden_field_tag :invitation_code, @invitation_code %> @@ -48,8 +49,6 @@ <%= render :partial => 'profile_editor/person_form', :locals => {:f => f} %> <% end %> -<%= icaptcha_field() %> - <% if @terms_of_use %> <%= _("By clicking on 'I accept the terms of use' below you are agreeing to the %s") % link_to_function(_('Terms of use'), nil) do |page| diff --git a/app/views/contact/new.rhtml b/app/views/contact/new.rhtml index e763f2a..2cdf9f5 100644 --- a/app/views/contact/new.rhtml +++ b/app/views/contact/new.rhtml @@ -4,6 +4,7 @@ <% labelled_form_for :contact, @contact do |f| %> + <%= icaptcha_field() %> <%= required_fields_message %> @@ -16,8 +17,6 @@ <%= required f.text_area(:message, :rows => 10, :cols => 60) %> <%= labelled_form_field check_box(:contact, :receive_a_copy) + _('I want to receive a copy of the message in my e-mail.'), '' %> - <%= icaptcha_field() %> - <%= submit_button(:send, _('Send')) %> <% end %> diff --git a/app/views/content_viewer/_comment_form.rhtml b/app/views/content_viewer/_comment_form.rhtml index f5232ee..50434ed 100644 --- a/app/views/content_viewer/_comment_form.rhtml +++ b/app/views/content_viewer/_comment_form.rhtml @@ -18,6 +18,7 @@

<%= content_tag('a', '', :name => 'comment_form') + _('Post a comment') %>

<% form_tag( @page.view_url, { :id => comment_form_id } ) do %> + <%= icaptcha_field() %> <%= required_fields_message %> @@ -25,7 +26,6 @@ <%= required labelled_form_field(_('Name'), text_field(:comment, :name)) %> <%= required labelled_form_field(_('e-mail'), text_field(:comment, :email)) %> - <%= icaptcha_field() %>

<%= _('If you are a registered user, you can login and be automatically recognized.') %> -- libgit2 0.21.2