diff --git a/app/views/admin/poll/booth_assignments/_booth_assignment.html.erb b/app/views/admin/poll/booth_assignments/_booth_assignment.html.erb
index fbf8664aa..a4060f8aa 100644
--- a/app/views/admin/poll/booth_assignments/_booth_assignment.html.erb
+++ b/app/views/admin/poll/booth_assignments/_booth_assignment.html.erb
@@ -15,7 +15,7 @@
<%= render Admin::TableActionsComponent.new(booth_assignment,
actions: [:destroy],
destroy_text: t("admin.booth_assignments.manage.actions.unassign"),
- destroy_confirmation: (booth_assignment.shifts? ? "#{t("admin.poll_booth_assignments.alert.shifts")}" : ""),
+ destroy_confirmation: (booth_assignment.shifts? ? t("admin.poll_booth_assignments.alert.shifts") : ""),
destroy_options: { remote: true }
) %>
<% end %>
diff --git a/app/views/admin/poll/questions/answers/videos/index.html.erb b/app/views/admin/poll/questions/answers/videos/index.html.erb
index e2995d0e2..2889db68a 100644
--- a/app/views/admin/poll/questions/answers/videos/index.html.erb
+++ b/app/views/admin/poll/questions/answers/videos/index.html.erb
@@ -25,7 +25,7 @@
<% @answer.videos.each do |video| %>
| <%= video.title %> |
- <%= link_to "#{video.url}", video.url %> |
+ <%= link_to video.url, video.url %> |
<%= render Admin::TableActionsComponent.new(video) %>
|
diff --git a/app/views/dashboard/_menu.html.erb b/app/views/dashboard/_menu.html.erb
index 65798f20f..29dea1ad5 100644
--- a/app/views/dashboard/_menu.html.erb
+++ b/app/views/dashboard/_menu.html.erb
@@ -36,7 +36,7 @@
<% if can?(:manage_polls, proposal) %>
<%= link_to proposal_dashboard_polls_path(proposal),
- class: "#{"submenu-active" if polls_menu_active?}" do %>
+ class: ("submenu-active" if polls_menu_active?) do %>
">
<%= t("dashboard.menu.polls") %>
@@ -48,7 +48,7 @@
<% if can?(:manage_mailing, proposal) %>
<%= link_to new_proposal_dashboard_mailing_path(proposal),
- class: "#{"submenu-active" if mailing_menu_active?}" do %>
+ class: ("submenu-active" if mailing_menu_active?) do %>
">
<%= t("dashboard.menu.mailing") %>
@@ -60,7 +60,7 @@
<% if can?(:manage_poster, proposal) %>
<%= link_to new_proposal_dashboard_poster_path(proposal),
- class: "#{"submenu-active" if poster_menu_active?}" do %>
+ class: ("submenu-active" if poster_menu_active?) do %>
">
<%= t("dashboard.menu.poster") %>
@@ -72,7 +72,7 @@
<% resources.each do |resource| %>
<%= link_to new_request_proposal_dashboard_action_path(proposal, resource),
- class: "#{"submenu-active" if is_request_active(resource.id)}" do %>
+ class: ("submenu-active" if is_request_active(resource.id)) do %>
<%= resource.title %>
diff --git a/app/views/users/_budget_investment.html.erb b/app/views/users/_budget_investment.html.erb
index 240a4e5c1..7c9dc0fec 100644
--- a/app/views/users/_budget_investment.html.erb
+++ b/app/views/users/_budget_investment.html.erb
@@ -10,7 +10,7 @@
<% if can? :destroy, budget_investment %>
<%= link_to t("shared.delete"), budget_investment_path(budget_investment.budget, budget_investment),
method: :delete, class: "button hollow alert",
- data: { confirm: "#{t("users.show.delete_alert")}" } %>
+ data: { confirm: t("users.show.delete_alert") } %>
<% end %>
diff --git a/app/views/valuation/budget_investments/index.html.erb b/app/views/valuation/budget_investments/index.html.erb
index 25037eae0..734f2070d 100644
--- a/app/views/valuation/budget_investments/index.html.erb
+++ b/app/views/valuation/budget_investments/index.html.erb
@@ -8,7 +8,7 @@
<% slice.each do |filter| %>
<%= link_to valuation_budget_budget_investments_path(budget_id: @budget.id, heading_id: filter[:id]),
- class: "#{"is-active" if params[:heading_id].to_s == filter[:id].to_s}" do %>
+ class: ("is-active" if params[:heading_id].to_s == filter[:id].to_s) do %>
<%= filter[:name] %> (<%= filter[:count] %>)
<% end %>
<% end %>