-
+ " aria-label="Go to your profile page" class="mr-2">
Add the <%= community_name %> badge to your personal site. Click here for the code .
diff --git a/app/views/users/_publishing_from_rss.html.erb b/app/views/users/_publishing_from_rss.html.erb
index d6fb1b9f8..db4b6475a 100644
--- a/app/views/users/_publishing_from_rss.html.erb
+++ b/app/views/users/_publishing_from_rss.html.erb
@@ -41,7 +41,11 @@
<%= f.check_box :feed_referential_link, class: "crayons-checkbox" %>
- <%= f.label :feed_referential_link, "Replace self-referential links with #{community_name}-specific links
If you check this box, the post will automatically change any URLs included in the post to refer to the version of that article on #{community_name} if available. This is primarily meant for folks migrating their entire blog onto #{community_name}.
".html_safe, class: "crayons-field__label" %>
+ <%= f.label :feed_referential_link,
+ "Replace self-referential links with #{community_name}-specific links
\
+ If you check this box, the post will automatically change any URLs included in the post to refer to the version of that article on #{community_name} if available. \
+ This is primarily meant for folks migrating their entire blog onto #{community_name}.
".html_safe,
+ class: "crayons-field__label" %>
<%= f.hidden_field :tab, value: @tab %>
diff --git a/app/views/users/_ux.html.erb b/app/views/users/_ux.html.erb
index 78ccc9f6f..975d4a6ad 100644
--- a/app/views/users/_ux.html.erb
+++ b/app/views/users/_ux.html.erb
@@ -23,7 +23,7 @@
<%= f.label :config_navbar, "Site Navbar", class: "crayons-field__label" %>
- <% ["default", "static"].each do |navbar| %>
+ <% %w[default static].each do |navbar| %>
<%= render partial: "navbar_selector", locals: { f: f, navbar: navbar } %>
<% end %>
@@ -35,7 +35,7 @@
<%= f.label :editor_version, "Editor Version", class: "crayons-field__label" %>
- <% ["v1", "v2"].each do |version| %>
+ <% %w[v1 v2].each do |version| %>
<%= render partial: "editor_selector", locals: { f: f, version: version } %>
<% end %>
@@ -47,7 +47,7 @@
<%= f.label :experience_level, "What is your approximate coding experience level (1-5)?", class: "crayons-field__label" %>
- <% ["1", "3", "5", "8", "10"].each_with_index do |exp, i| %>
+ <% %w[1 3 5 8 10].each_with_index do |exp, i| %>
<%= render partial: "experience_selector", locals: { f: f, exp: exp, i: i } %>
<% end %>
diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb
index e58d03a12..672c1f7ae 100644
--- a/app/views/users/edit.html.erb
+++ b/app/views/users/edit.html.erb
@@ -37,7 +37,7 @@
<% else %>
<% end %>
@@ -54,7 +54,7 @@
<% @tab_list.each do |possible_tab| %>
- " <% if @tab == possible_tab.downcase.tr(' ', '-') %>selected<% end %>>
+ " <% if @tab == possible_tab.downcase.tr(' ', '-') %> selected <% end %>>
<%= possible_tab %>
<% end %>