From 50294f82ffbdc2305fcb66e48055d172cb4d9fcc Mon Sep 17 00:00:00 2001 From: Bastian Greshake Tzovaras Date: Mon, 31 Mar 2025 12:28:05 +0100 Subject: [PATCH 1/2] Update new.html.erb --- app/views/users/new.html.erb | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index ed75dcc9..5dfb8271 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -9,33 +9,9 @@ <%=render "static/disclaimer"%>
- <%= form_for @user, :html => {:class => "form"} do |f| %> -
- <%= f.label :name %> - <%= f.text_field :name , placeholder:"Username", class:"form-control"%> -
-
- <%= f.label :email %> - <%= f.text_field :email, class: "form-control", placeholder: "Email" %> -
-
- <%= f.label :password %> - <%= f.password_field :password, class: "form-control", placeholder: "Password" %> -
-
- <%= f.label :password_confirmation, "Confirmation" %> - <%= f.password_field :password_confirmation, class: "form-control", placeholder: "Confirm your password" %> -
-
- -
- - <%= f.submit :class => "btn btn-default btn-lg"%> - <% end %> - + + openSNP will sunset on April 30, 2025. Due to this we already now don't allow new registrations any longer. Existing users can log in as before. +
From 57e1ea5e2176869bcf0ae5218e92b9a81b9c9780 Mon Sep 17 00:00:00 2001 From: Bastian Greshake Tzovaras Date: Mon, 31 Mar 2025 12:38:35 +0100 Subject: [PATCH 2/2] Update application.html.erb --- app/views/layouts/application.html.erb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 28626500..7dca7c8e 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -12,6 +12,16 @@ <%= render "layouts/navbar"%> +
+
+ + + openSNP is sunsetting, we will remove this website and delete all data on April 30, 2025. + You can read more about the reasons here. + +
+
+ <%if current_user %>
<% if current_user.display_help_header? %>