From 6f4382719e75e6fb4935fb0687ef09b40e4dfb15 Mon Sep 17 00:00:00 2001 From: Suzanne Aitchison Date: Tue, 27 Apr 2021 10:01:24 +0100 Subject: [PATCH] add skip link to connect and manage post (#13503) --- app/views/articles/manage.html.erb | 56 +++++++++++++------------- app/views/chat_channels/index.html.erb | 4 +- 2 files changed, 31 insertions(+), 29 deletions(-) diff --git a/app/views/articles/manage.html.erb b/app/views/articles/manage.html.erb index ba7edb56b..568af57da 100644 --- a/app/views/articles/manage.html.erb +++ b/app/views/articles/manage.html.erb @@ -1,4 +1,5 @@ <% title "Manage #{@article.title}" %> +
@@ -27,31 +28,32 @@
-
- <%= render "dashboards/dashboard_article", article: @article, organization: @article.organization, org_admin: @user.org_admin?(@article.organization), manage_view: true %> -
- <%= form_for(RatingVote.new) do |f| %> -

Experience Level of Post

- <%= f.hidden_field :article_id, value: @article.id %> - <%= f.hidden_field :group, value: "experience_level" %> - - - - - - - - - - - - - - - - -

Who is this post most relevant for?

-

👈 BeginnerExpert 👉

- <% end %> +
+ <%= render "dashboards/dashboard_article", article: @article, organization: @article.organization, org_admin: @user.org_admin?(@article.organization), manage_view: true %> +
+ <%= form_for(RatingVote.new) do |f| %> +

Experience Level of Post

+ <%= f.hidden_field :article_id, value: @article.id %> + <%= f.hidden_field :group, value: "experience_level" %> + + + + + + + + + + + + + + + + +

Who is this post most relevant for?

+

👈 BeginnerExpert 👉

+ <% end %> +
-
+
diff --git a/app/views/chat_channels/index.html.erb b/app/views/chat_channels/index.html.erb index 5acbb19a5..9edd60699 100644 --- a/app/views/chat_channels/index.html.erb +++ b/app/views/chat_channels/index.html.erb @@ -7,7 +7,7 @@ <% if user_signed_in? %> <%= javascript_packs_with_chunks_tag "Chat", defer: true %> -
+
- + <% else %> <%= render "devise/registrations/registration_form" %> <% end %>