diff --git a/app/views/admin/administrator_tasks/index.html.erb b/app/views/admin/administrator_tasks/index.html.erb index 186774609..66d076787 100644 --- a/app/views/admin/administrator_tasks/index.html.erb +++ b/app/views/admin/administrator_tasks/index.html.erb @@ -13,7 +13,7 @@ <% if @administrator_tasks.empty? %> - <%= t '.no_records' %> + <%= t('.no_records') %> <% end %> diff --git a/app/views/admin/proposal_dashboard_actions/index.html.erb b/app/views/admin/proposal_dashboard_actions/index.html.erb index 807e7d797..a12bb416a 100644 --- a/app/views/admin/proposal_dashboard_actions/index.html.erb +++ b/app/views/admin/proposal_dashboard_actions/index.html.erb @@ -18,7 +18,7 @@ <% if @proposal_dashboard_actions.empty? %> - <%= t 'admin.proposal_dashboard_actions.index.no_records' %> + <%= t('admin.proposal_dashboard_actions.index.no_records') %> <% end %> diff --git a/app/views/proposals/_preview.html.erb b/app/views/proposals/_preview.html.erb index 76f053cb0..0152b4a20 100644 --- a/app/views/proposals/_preview.html.erb +++ b/app/views/proposals/_preview.html.erb @@ -140,7 +140,7 @@

<%= t("votes.supports") %>

<% if @proposal.draft? %> -

<%= t '.draft' %>

+

<%= t('.draft') %>

<% elsif @proposal.successful? %>

<%= t("proposals.proposal.successful", diff --git a/app/views/proposals/created.html.erb b/app/views/proposals/created.html.erb index 8be7f8714..3e0bf2c63 100644 --- a/app/views/proposals/created.html.erb +++ b/app/views/proposals/created.html.erb @@ -1,9 +1,9 @@

-

<%= t '.title' %>

+

<%= t('.title') %>

- <%= raw t '.motivation' %> + <%= raw t('.motivation') %> <%= link_to t('.dashboard'), proposal_dashboard_index_path(@proposal), class: 'button' if can? :dashboard, @proposal %> <%= link_to t('.publish'), publish_proposal_path(@proposal), method: :patch, class: 'button' if can? :publish, @proposal %> diff --git a/app/views/proposals/share.html.erb b/app/views/proposals/share.html.erb index c6447edc1..daf38468b 100644 --- a/app/views/proposals/share.html.erb +++ b/app/views/proposals/share.html.erb @@ -30,7 +30,7 @@ <% if can? :dashboard, @proposal %>

- <%= t '.improve_it' %> + <%= t('.improve_it') %>

<%= link_to t('.dashboard'), proposal_dashboard_index_path(@proposal), class: 'button' %>