t helper invoked with parenthesis
t helper is invoked with parenthesis
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<tbody>
|
||||
<% if @administrator_tasks.empty? %>
|
||||
<tr>
|
||||
<td colspan="100%"><%= t '.no_records' %></td>
|
||||
<td colspan="100%"><%= t('.no_records') %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<tbody>
|
||||
<% if @proposal_dashboard_actions.empty? %>
|
||||
<tr>
|
||||
<td colspan="100%"><%= t 'admin.proposal_dashboard_actions.index.no_records' %></td>
|
||||
<td colspan="100%"><%= t('admin.proposal_dashboard_actions.index.no_records') %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
|
||||
@@ -140,7 +140,7 @@
|
||||
<h2><%= t("votes.supports") %></h2>
|
||||
<div id="<%= dom_id(@proposal) %>_votes">
|
||||
<% if @proposal.draft? %>
|
||||
<p><%= t '.draft' %></p>
|
||||
<p><%= t('.draft') %></p>
|
||||
<% elsif @proposal.successful? %>
|
||||
<p>
|
||||
<%= t("proposals.proposal.successful",
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<div class=proposal-created>
|
||||
<div id="<%= dom_id(@proposal) %>" class="row">
|
||||
<div class="small-12 medium-12 column">
|
||||
<h1><%= t '.title' %></h1>
|
||||
<h1><%= t('.title') %></h1>
|
||||
|
||||
<%= 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 %>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<% if can? :dashboard, @proposal %>
|
||||
<div class="callout light">
|
||||
<p class="centered">
|
||||
<strong><%= t '.improve_it' %></strong>
|
||||
<strong><%= t('.improve_it') %></strong>
|
||||
</p>
|
||||
<div class="centered">
|
||||
<%= link_to t('.dashboard'), proposal_dashboard_index_path(@proposal), class: 'button' %>
|
||||
|
||||
Reference in New Issue
Block a user