From 83fdb588b7f863c5f93bb32b1ed1dc5b55aa1a5d Mon Sep 17 00:00:00 2001 From: Nethanel Kohen Date: Tue, 6 Feb 2018 19:43:57 -0500 Subject: [PATCH] add a feature block to signup form --- app/views/users/new.html.erb | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index 2ceab80a84..ef4255f4cc 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -1,5 +1,5 @@
- + <%= raw t('users.new.about_public_lab') %>
@@ -24,15 +24,9 @@ <%= render 'form' %> -
-

<%= t('users.new.code_of_conduct_agreement') %>

-

<%= raw t('users.new.code_of_conduct_detail', :url1 => "http://publiclab.org/conduct") %>

-
- -
-

<%= t('users.new.licensing_agreement') %>

-

<%= raw t('users.new.licensing_detail', :url1 => "http://creativecommons.org/licenses/by-sa/3.0/", :url2 => "http://www.ohwr.org/cernohl", :url3 => "http://creativecommons.org/licenses/by-sa/3.0/") %>

-
+ <% cache('feature_signup-notice', skip_digest: true) do %> + <%= feature('signup-notice') %> + <% end %>