- <%= f.label "CTA Link Text" %>
- <%= f.text_field :cta_button_text, maxlength: 12, placeholder: "Limit of 12 characters" %>
-
-
- <%= f.label "CTA Link URL" %>
- <%= f.text_field :cta_button_url %>
-
-
- <%= f.label "Body text (markdown inline only)" %>
- <%= f.text_area :cta_body_markdown, maxlength: 256, placeholder: "Limit of 256 characters" %>
-
- <% end %>
+
+ <%= f.label "Body text (markdown inline only)" %>
+ <%= f.text_area :cta_body_markdown, maxlength: 256, placeholder: "Limit of 256 characters" %>
+
+
+ <%= f.label "CTA Link Text" %>
+ <%= f.text_field :cta_button_text, maxlength: 12, placeholder: "Limit of 12 characters" %>
+
+
<%= f.submit "SUBMIT", class: "cta" %>
diff --git a/app/views/users/_org_non_member.html.erb b/app/views/users/_org_non_member.html.erb
index 1ec3da524..8de7de7dd 100644
--- a/app/views/users/_org_non_member.html.erb
+++ b/app/views/users/_org_non_member.html.erb
@@ -1,5 +1,7 @@
Join An Organization
+
Do you have the secret code?
+
<%= form_tag "/users/join_org" do %>
<%= label_tag :org_secret, "Secret" %>
diff --git a/lib/tasks/fetch.rake b/lib/tasks/fetch.rake
index 282ca6dd6..291dca77e 100644
--- a/lib/tasks/fetch.rake
+++ b/lib/tasks/fetch.rake
@@ -96,7 +96,7 @@ task remove_old_html_variant_data: :environment do
HtmlVariantTrial.where("created_at < ?", 1.week.ago).destroy_all
HtmlVariantSuccess.where("created_at < ?", 1.week.ago).destroy_all
HtmlVariant.find_each do |html_variant|
- return if html_variant.html_variant_successes.size < 20
+ return if html_variant.html_variant_successes.size < 12
html_variant.calculate_success_rate!
end
end