diff --git a/app/views/admin/budget_groups/_form.html.erb b/app/views/admin/budget_groups/_form.html.erb index cbf53ae30..06a185ae9 100644 --- a/app/views/admin/budget_groups/_form.html.erb +++ b/app/views/admin/budget_groups/_form.html.erb @@ -3,7 +3,7 @@
<%= translatable_form_for [:admin, @budget, @group], url: path do |f| %> - <%= render 'shared/errors', resource: @group %> + <%= render "shared/errors", resource: @group %> <%= f.translatable_fields do |translations_form| %> <%= translations_form.text_field :name, diff --git a/app/views/admin/budget_headings/_form.html.erb b/app/views/admin/budget_headings/_form.html.erb index 8745bf506..4fe3b75da 100644 --- a/app/views/admin/budget_headings/_form.html.erb +++ b/app/views/admin/budget_headings/_form.html.erb @@ -4,7 +4,7 @@ <%= translatable_form_for [:admin, @budget, @group, @heading], url: path do |f| %> - <%= render 'shared/errors', resource: @heading %> + <%= render "shared/errors", resource: @heading %> <%= f.translatable_fields do |translations_form| %> <%= translations_form.text_field :name, diff --git a/app/views/admin/budget_investments/_investments.html.erb b/app/views/admin/budget_investments/_investments.html.erb index 1bae41ee1..0be6f5e10 100644 --- a/app/views/admin/budget_investments/_investments.html.erb +++ b/app/views/admin/budget_investments/_investments.html.erb @@ -2,7 +2,7 @@ admin_budget_budget_investments_path(csv_params), class: "float-right small clear" %> -<% if params[:filter] == 'winners' %> +<% if params[:filter] == "winners" %> <% if display_calculate_winners_button?(@budget) %> <%= link_to calculate_winner_button_text(@budget), calculate_winners_admin_budget_path(@budget), @@ -48,7 +48,7 @@ <% @investments.each do |investment| %> - <%= render '/admin/budget_investments/select_investment', investment: investment %> + <%= render "/admin/budget_investments/select_investment", investment: investment %> <% end %> diff --git a/app/views/admin/budget_investments/_written_by_author.html.erb b/app/views/admin/budget_investments/_written_by_author.html.erb index 2ce89e667..ec2582fdc 100644 --- a/app/views/admin/budget_investments/_written_by_author.html.erb +++ b/app/views/admin/budget_investments/_written_by_author.html.erb @@ -67,7 +67,7 @@ <% if @investment.image.present? %> <%= link_to t("admin.budget_investments.show.see_image"), - namespaced_budget_investment_path(@investment, {anchor: 'image'}), + namespaced_budget_investment_path(@investment, {anchor: "image"}), target: "blank" %> <% else %> <%= t("admin.budget_investments.show.no_image") %> @@ -80,7 +80,7 @@ <% if @investment.documents.present? %> <%= link_to t("admin.budget_investments.show.see_documents", count: @investment.documents.count), - namespaced_budget_investment_path(@investment, {anchor: 'documents'}), + namespaced_budget_investment_path(@investment, {anchor: "documents"}), target: "blank" %> <% else %> <%= t("admin.budget_investments.show.no_documents") %> @@ -89,5 +89,5 @@

<%= t("admin.budget_investments.show.user_tags") %>: - <%= @investment.tag_list.sort.join(', ') %> + <%= @investment.tag_list.sort.join(", ") %>

diff --git a/app/views/admin/budget_investments/edit.html.erb b/app/views/admin/budget_investments/edit.html.erb index 5c98f633b..6cfcfbe63 100644 --- a/app/views/admin/budget_investments/edit.html.erb +++ b/app/views/admin/budget_investments/edit.html.erb @@ -1,4 +1,4 @@ -<%= link_to admin_budget_budget_investment_path(@budget, @investment, Budget::Investment.filter_params(params)), class: 'back' do %> +<%= link_to admin_budget_budget_investment_path(@budget, @investment, Budget::Investment.filter_params(params)), class: "back" do %> <%= t("shared.back") %> <% end %> @@ -21,7 +21,7 @@
<%= f.label :tag_list, t("admin.budget_investments.edit.user_tags") %> <%= f.text_field :tag_list, - value: @investment.tag_list.sort.join(','), + value: @investment.tag_list.sort.join(","), label: false %>
@@ -57,10 +57,10 @@ <% end %>
<%= f.text_field :valuation_tag_list, - value: @investment.valuation_tag_list.sort.join(','), + value: @investment.valuation_tag_list.sort.join(","), label: false, placeholder: t("admin.budget_investments.edit.tags_placeholder"), - class: 'js-tag-list' %> + class: "js-tag-list" %>
@@ -88,7 +88,7 @@

<%= t("admin.budget_investments.edit.compatibility") %>

<%= f.label :incompatible do %> - <%= f.check_box :incompatible, title: t('admin.budget_investments.edit.compatibility'), label: false %> + <%= f.check_box :incompatible, title: t("admin.budget_investments.edit.compatibility"), label: false %> <%= t("admin.budget_investments.edit.mark_as_incompatible") %> <% end %>
@@ -96,7 +96,7 @@

<%= t("admin.budget_investments.edit.selection") %>

<%= f.label :selected do %> - <%= f.check_box :selected, title: t('admin.budget_investments.edit.selection'), label: false %> + <%= f.check_box :selected, title: t("admin.budget_investments.edit.selection"), label: false %> <%= t("admin.budget_investments.edit.mark_as_selected") %> <% end %>
diff --git a/app/views/admin/budget_investments/show.html.erb b/app/views/admin/budget_investments/show.html.erb index 9ccf0d6a0..191b498ef 100644 --- a/app/views/admin/budget_investments/show.html.erb +++ b/app/views/admin/budget_investments/show.html.erb @@ -3,7 +3,7 @@ <%= t("shared.back") %> <% end %> -<%= render 'written_by_author' %> +<%= render "written_by_author" %> <%= link_to t("admin.budget_investments.show.edit"), edit_admin_budget_budget_investment_path(@budget, @investment, @@ -20,13 +20,13 @@

<%= t("admin.budget_investments.show.tags") %>: - <%= @investment.tags_on(:valuation).pluck(:name).sort.join(', ') %> + <%= @investment.tags_on(:valuation).pluck(:name).sort.join(", ") %>

<%= t("admin.budget_investments.show.valuator_groups") %>: <% if @investment.valuator_groups.any? %> - <%= @investment.valuator_groups.collect(&:name).join(', ') %> + <%= @investment.valuator_groups.collect(&:name).join(", ") %> <% else %> <%= t("admin.budget_investments.show.undefined") %> <% end %> @@ -35,7 +35,7 @@

<%= t("admin.budget_investments.show.assigned_valuators") %>: <% if @investment.valuators.any? %> - <%= @investment.valuators.collect(&:name_and_email).join(', ') %> + <%= @investment.valuators.collect(&:name_and_email).join(", ") %> <% else %> <%= t("admin.budget_investments.show.undefined") %> <% end %> @@ -44,17 +44,17 @@

<%= link_to t("admin.budget_investments.show.edit_classification"), edit_admin_budget_budget_investment_path(@budget, @investment, - {anchor: 'classification'}.merge(Budget::Investment.filter_params(params))) unless @budget.finished? %> + {anchor: "classification"}.merge(Budget::Investment.filter_params(params))) unless @budget.finished? %>


<%= t("admin.budget_investments.show.dossier") %>

-<%= render 'valuation/budget_investments/dossier' %> +<%= render "valuation/budget_investments/dossier" %>

<%= link_to t("admin.budget_investments.show.edit_dossier"), edit_valuation_budget_budget_investment_path(@budget, @investment) unless @budget.finished? %>

-<%= render 'valuation/budget_investments/valuation_comments' %> +<%= render "valuation/budget_investments/valuation_comments" %> <%= render "admin/milestones/milestones", milestoneable: @investment %> diff --git a/app/views/admin/budget_phases/_form.html.erb b/app/views/admin/budget_phases/_form.html.erb index 5bcd5ed3b..05b4139be 100644 --- a/app/views/admin/budget_phases/_form.html.erb +++ b/app/views/admin/budget_phases/_form.html.erb @@ -2,7 +2,7 @@ <%= translatable_form_for [:admin, @phase.budget, @phase] do |f| %> - <%= render 'shared/errors', resource: @phase %> + <%= render "shared/errors", resource: @phase %>
<%= f.label :starts_at, t("admin.budget_phases.edit.start_date") %> diff --git a/app/views/admin/budget_phases/edit.html.erb b/app/views/admin/budget_phases/edit.html.erb index 634f10c9f..7161abc88 100644 --- a/app/views/admin/budget_phases/edit.html.erb +++ b/app/views/admin/budget_phases/edit.html.erb @@ -4,4 +4,4 @@

<%= t("admin.budgets.edit.title") %> - <%= t("budgets.phase.#{@phase.kind}") %>

-<%= render '/admin/budget_phases/form' %> +<%= render "/admin/budget_phases/form" %> diff --git a/app/views/admin/budgets/_form.html.erb b/app/views/admin/budgets/_form.html.erb index aeaf0db37..d5aaa02b2 100644 --- a/app/views/admin/budgets/_form.html.erb +++ b/app/views/admin/budgets/_form.html.erb @@ -2,7 +2,7 @@ <%= translatable_form_for [:admin, @budget] do |f| %> - <%= render 'shared/errors', resource: @budget %> + <%= render "shared/errors", resource: @budget %>
<%= f.translatable_fields do |translations_form| %> diff --git a/app/views/admin/budgets/edit.html.erb b/app/views/admin/budgets/edit.html.erb index a4a9c2729..508279796 100644 --- a/app/views/admin/budgets/edit.html.erb +++ b/app/views/admin/budgets/edit.html.erb @@ -4,4 +4,4 @@

<%= t("admin.budgets.edit.title") %>

-<%= render '/admin/budgets/form' %> +<%= render "/admin/budgets/form" %> diff --git a/app/views/admin/budgets/index.html.erb b/app/views/admin/budgets/index.html.erb index 02660c263..2be3ae926 100644 --- a/app/views/admin/budgets/index.html.erb +++ b/app/views/admin/budgets/index.html.erb @@ -4,7 +4,7 @@ new_admin_budget_path, class: "button float-right" %> -<%= render 'shared/filter_subnav', i18n_namespace: "admin.budgets.index" %> +<%= render "shared/filter_subnav", i18n_namespace: "admin.budgets.index" %> <% if @budgets.any? %>

<%= page_entries_info @budgets %>

diff --git a/app/views/admin/budgets/new.html.erb b/app/views/admin/budgets/new.html.erb index efe1a47e2..aca444559 100644 --- a/app/views/admin/budgets/new.html.erb +++ b/app/views/admin/budgets/new.html.erb @@ -2,4 +2,4 @@

<%= t("admin.budgets.new.title") %>

-<%= render '/admin/budgets/form' %> +<%= render "/admin/budgets/form" %>