<%= label_tag :type_of, "Type", class: "crayons-field__label" %>
- <%= select_tag :type_of, options_for_select(%w[Welcome Announcement], selected: @broadcast.type_of), class: "crayons-select"%>
+ <%= select_tag :type_of, options_for_select(%w[Welcome Announcement], selected: @broadcast.type_of), class: "crayons-select" %>
<%= label_tag :banner_style, "Banner Style", class: "crayons-field__label" %>
- <%= select_tag :banner_style, options_for_select(%w[default brand success warning error], selected: @broadcast.banner_style), include_blank: true, class: "crayons-select"%>
+ <%= select_tag :banner_style, options_for_select(%w[default brand success warning error], selected: @broadcast.banner_style), include_blank: true, class: "crayons-select" %>
<%= label_tag :active, "Active", class: "crayons-field__label" %>
- <%= select_tag :active, options_for_select([false, true], selected: @broadcast.active), class: "crayons-select"%>
+ <%= select_tag :active, options_for_select([false, true], selected: @broadcast.active), class: "crayons-select" %>
diff --git a/app/views/admin/broadcasts/index.html.erb b/app/views/admin/broadcasts/index.html.erb
index d9221d45d..3de10f081 100644
--- a/app/views/admin/broadcasts/index.html.erb
+++ b/app/views/admin/broadcasts/index.html.erb
@@ -32,7 +32,7 @@
<% @broadcasts.each do |broadcast| %>
| <%= link_to broadcast.title, admin_broadcast_path(broadcast.id) %> |
-
+ |
">
<%= broadcast.active? ? "Active" : "Inactive" %>
diff --git a/app/views/admin/data_update_scripts/index.html.erb b/app/views/admin/data_update_scripts/index.html.erb
index 0fc743cd5..564db11a3 100644
--- a/app/views/admin/data_update_scripts/index.html.erb
+++ b/app/views/admin/data_update_scripts/index.html.erb
@@ -30,7 +30,7 @@
|
<%= script.created_at %> |
<%= script.run_at %> |
-
+ |
<%= script.status %>
<% if script.error.present? %>
<%= script.error %>
diff --git a/app/views/admin/display_ads/index.html.erb b/app/views/admin/display_ads/index.html.erb
index 009250f0a..715356cb2 100644
--- a/app/views/admin/display_ads/index.html.erb
+++ b/app/views/admin/display_ads/index.html.erb
@@ -9,7 +9,7 @@
<%= text_field_tag(:search, params[:search], aria: { label: "Search" }, class: "crayons-header--search-input crayons-textfield", placeholder: "Search") %>
<% end %>
-
+
<%= link_to "Make A New Display Ad", new_admin_display_ad_path, class: "crayons-btn" %>
diff --git a/app/views/admin/feedback_messages/_abuse_reports.html.erb b/app/views/admin/feedback_messages/_abuse_reports.html.erb
index 7c0613f44..074d7d34b 100644
--- a/app/views/admin/feedback_messages/_abuse_reports.html.erb
+++ b/app/views/admin/feedback_messages/_abuse_reports.html.erb
@@ -22,7 +22,7 @@
<% next if (reaction.reactable_type == "Article" && !reaction.reactable.published) || (reaction.reactable_type == "User" && reaction.reactable&.banished?) %>
diff --git a/app/views/admin/feedback_messages/_feedback_message.html.erb b/app/views/admin/feedback_messages/_feedback_message.html.erb
index 9eba65002..1d67122f7 100644
--- a/app/views/admin/feedback_messages/_feedback_message.html.erb
+++ b/app/views/admin/feedback_messages/_feedback_message.html.erb
@@ -191,7 +191,7 @@
-
+
diff --git a/app/views/admin/gdpr_delete_requests/index.html.erb b/app/views/admin/gdpr_delete_requests/index.html.erb
index 003d3a1d2..02cb7d7e8 100644
--- a/app/views/admin/gdpr_delete_requests/index.html.erb
+++ b/app/views/admin/gdpr_delete_requests/index.html.erb
@@ -1,10 +1,10 @@
<%= javascript_packs_with_chunks_tag "admin/users/gdprDeleteRequests", defer: true %>
-
+
Members (GDPR Delete Requests)
<%= form_with url: admin_gdpr_delete_requests_path, method: :get, local: true, class: "grow-1 mb-3 m:mb-0" do |f| %>
-
-
+
+
<%= paginate @gdpr_delete_requests, theme: "admin", scope: @gdpr_delete_requests, label: "Paginate GDPR delete requests", context: "top" %>
<%= render "admin/users/controls/search_field", f: f, placeholder: "Search members...", aria_label: "Search members by email or username", context: "large" %>
diff --git a/app/views/admin/html_variants/index.html.erb b/app/views/admin/html_variants/index.html.erb
index 6a7369a89..f2bde3968 100644
--- a/app/views/admin/html_variants/index.html.erb
+++ b/app/views/admin/html_variants/index.html.erb
@@ -8,7 +8,7 @@
<% end %>
-
+
<%= link_to "New HTML Variant", new_admin_html_variant_path, class: "crayons-btn" %>
diff --git a/app/views/admin/invitations/index.html.erb b/app/views/admin/invitations/index.html.erb
index 666c522c0..2a7ee6fcd 100644
--- a/app/views/admin/invitations/index.html.erb
+++ b/app/views/admin/invitations/index.html.erb
@@ -1,14 +1,14 @@
<%= javascript_packs_with_chunks_tag "admin/users/controls", "admin/users/memberIndex", defer: true %>
-
+
Members (Invitations)
<%= form_with url: admin_invitations_path, method: :get, local: true, class: "py-3" do |f| %>
-
+
<%= render "admin/users/controls/expand_search_button" %>
<%= paginate @invitations, theme: "admin", scope: @invitations, label: "Paginate invitations", context: "top-small" %>
@@ -23,7 +23,7 @@
<% @invitations.each do |user| %>
-
-
+
<%= render "admin/users/index/member_image", user: user %>
@@ -44,11 +44,11 @@
-
+
<%= form_with url: admin_invitations_path, method: :get, local: true, class: "grow-1 mb-3 m:mb-0" do |f| %>
<% render "admin/users/controls/search_field", f: f, placeholder: "Search invited members...", aria_label: "Search invited members by name, email, or username", context: "large" %>
<% end %>
-
+
<%= paginate @invitations, theme: "admin", scope: @invitations, label: "Paginate invitations", context: "top-large" %>
<%= link_to "Invite member", new_admin_invitation_path, class: "c-cta c-cta--branded ml-3" %>
@@ -88,7 +88,7 @@
No members invited yet.
Invite members and grow your community.
-
+
<%= link_to "Invite member", new_admin_invitation_path, class: "c-cta c-cta--branded ml-3" %>
<% end %>
diff --git a/app/views/admin/listing_categories/index.html.erb b/app/views/admin/listing_categories/index.html.erb
index 9a22d5efd..d53e69b3e 100644
--- a/app/views/admin/listing_categories/index.html.erb
+++ b/app/views/admin/listing_categories/index.html.erb
@@ -3,7 +3,7 @@
<%= text_field_tag(:search, params[:search], aria: { label: "Search" }, class: "top-bar--search-input crayons-textfield", placeholder: "Search by name") %>
<% end %>
-
+
<%= link_to "Make A Listing Category", new_admin_listing_category_path, class: "crayons-btn" %>
diff --git a/app/views/admin/listings/edit.html.erb b/app/views/admin/listings/edit.html.erb
index 75330dc90..8d877942f 100644
--- a/app/views/admin/listings/edit.html.erb
+++ b/app/views/admin/listings/edit.html.erb
@@ -18,7 +18,7 @@
<%= form_with model: [:admin, @listing], method: :patch, local: true do |form| %>
- <%= form.label :title, class: "crayons-field__label"%>
+ <%= form.label :title, class: "crayons-field__label" %>
<%= form.text_field :title, size: 100, maxlength: 128, class: "crayons-textfield" %>
diff --git a/app/views/admin/moderator_actions/index.html.erb b/app/views/admin/moderator_actions/index.html.erb
index 9a3f30519..929923f62 100644
--- a/app/views/admin/moderator_actions/index.html.erb
+++ b/app/views/admin/moderator_actions/index.html.erb
@@ -1,5 +1,6 @@
<%= search_form_for @q, url: admin_moderator_actions_path, class: "inline-flex" do |f| %>
+ <%= f.label :user_username_cont, "User", class: "screen-reader-only" %>
<%= f.search_field :user_username_cont, aria: { label: "Search" }, placeholder: "User", class: "crayons-textfield mr-2" %>
<%= f.submit "Search", class: "crayons-btn" %>
<% end %>
diff --git a/app/views/admin/organizations/show.html.erb b/app/views/admin/organizations/show.html.erb
index d16d3bfb4..c229cb1ef 100644
--- a/app/views/admin/organizations/show.html.erb
+++ b/app/views/admin/organizations/show.html.erb
@@ -38,7 +38,7 @@
<% current_credits = @organization.unspent_credits_count %>
Credits (current: <%= current_credits %>)
- <%= form_tag update_org_credits_admin_organization_path(@organization), method: :patch, class: "flex justify-content-between mb-2" do %>
+ <%= form_tag update_org_credits_admin_organization_path(@organization), method: :patch, class: "flex justify-between mb-2" do %>
<%= hidden_field_tag :credit_action, :add %>
<%= number_field_tag :credits, nil, in: 1...100_000, required: true, class: "crayons-textfield w-auto mr-3", size: 5, aria: { label: "Credits" } %>
@@ -47,7 +47,7 @@
<%= submit_tag "Add Org Credits", class: "crayons-btn" %>
<% end %>
<% if current_credits.positive? %>
- <%= form_tag update_org_credits_admin_organization_path(@organization), method: :patch, class: "flex justify-content-between mb-2" do %>
+ <%= form_tag update_org_credits_admin_organization_path(@organization), method: :patch, class: "flex justify-between mb-2" do %>
<%= hidden_field_tag :credit_action, :remove %>
<%= number_field_tag :credits, nil, in: 1..current_credits, required: true, class: "crayons-textfield w-auto mr-3", size: 5, aria: { label: "Credits" } %>
diff --git a/app/views/admin/tags/index.html.erb b/app/views/admin/tags/index.html.erb
index 818d5fcac..790c2507e 100644
--- a/app/views/admin/tags/index.html.erb
+++ b/app/views/admin/tags/index.html.erb
@@ -23,7 +23,7 @@
<% end %>
-
+
<%= link_to "Make A Tag", new_admin_tag_path, class: "crayons-btn" %>
diff --git a/app/views/admin/tools/feed_playground.html.erb b/app/views/admin/tools/feed_playground.html.erb
index ad667aaa6..3ec7af774 100644
--- a/app/views/admin/tools/feed_playground.html.erb
+++ b/app/views/admin/tools/feed_playground.html.erb
@@ -16,7 +16,7 @@
<%= label_tag :number_of_articles, "Number of articles", class: "crayons-field__label" %>
<%= text_field_tag :number_of_articles, params[:number_of_articles] || 25, placeholder: "25", class: "crayons-textfield" %>
- <%= submit_tag :"Preview feed", class: "crayons-btn mr-auto"%>
+ <%= submit_tag :"Preview feed", class: "crayons-btn mr-auto" %>
<% end %>
diff --git a/app/views/admin/tools/index.html.erb b/app/views/admin/tools/index.html.erb
index 002b9f983..7b0fb8563 100644
--- a/app/views/admin/tools/index.html.erb
+++ b/app/views/admin/tools/index.html.erb
@@ -6,7 +6,7 @@
<%= label_tag :dead_link, "Link:", class: "crayons-field__label" %>
<%= text_field_tag :dead_link, nil, placeholder: "/xyz", class: "crayons-textfield" %>
- <%= submit_tag :"Clear Cache", class: "crayons-btn mr-auto"%>
+ <%= submit_tag :"Clear Cache", class: "crayons-btn mr-auto" %>
<% end %>
@@ -18,14 +18,14 @@
<%= label_tag :bust_article, "Article ID:", class: "crayons-field__label" %>
<%= text_field_tag :bust_article, nil, placeholder: "12345", class: "crayons-textfield" %>
- <%= submit_tag :"Clear Article Cache", class: "crayons-btn mr-auto"%>
+ <%= submit_tag :"Clear Article Cache", class: "crayons-btn mr-auto" %>
<% end %>
<%= form_tag bust_cache_admin_tools_path do %>
<%= label_tag :bust_user, "User ID:", class: "crayons-field__label" %>
<%= text_field_tag :bust_user, nil, placeholder: "12345", class: "crayons-textfield" %>
- <%= submit_tag :"Clear User Cache", class: "crayons-btn mr-auto"%>
+ <%= submit_tag :"Clear User Cache", class: "crayons-btn mr-auto" %>
<% end %>
diff --git a/app/views/admin/users/index.html.erb b/app/views/admin/users/index.html.erb
index f3c294308..250f6bda6 100644
--- a/app/views/admin/users/index.html.erb
+++ b/app/views/admin/users/index.html.erb
@@ -1,7 +1,7 @@
<%= javascript_packs_with_chunks_tag "admin/users/memberIndex", defer: true %>
-
+
<%= t("views.admin.users.heading") %>
<%= render "admin/users/index/controls" %>
diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb
index 2a30fd032..8a89751d0 100644
--- a/app/views/layouts/admin.html.erb
+++ b/app/views/layouts/admin.html.erb
@@ -16,9 +16,6 @@
-
-
-
<%= stylesheet_link_tag "admin" %>
@@ -100,8 +97,5 @@
-
-
-
|