Use double quotes in app/views
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<tr id="proposal_<%= proposal.id %>">
|
||||
<td class="small-9">
|
||||
<strong><%= link_to proposal.title, proposal, proposal.retired? ? { class: 'retired' } : {} %></strong>
|
||||
<strong><%= link_to proposal.title, proposal, proposal.retired? ? { class: "retired" } : {} %></strong>
|
||||
<br>
|
||||
<%= proposal.summary %>
|
||||
</td>
|
||||
@@ -8,7 +8,7 @@
|
||||
<% if proposal.retired? %>
|
||||
|
||||
<td class="text-center" colspan="2">
|
||||
<span class="label alert"><%= t('users.proposals.retired') %></span>
|
||||
<span class="label alert"><%= t("users.proposals.retired") %></span>
|
||||
</td>
|
||||
|
||||
<% elsif author?(proposal) %>
|
||||
@@ -16,23 +16,23 @@
|
||||
<td>
|
||||
<%= link_to t("users.proposals.send_notification"),
|
||||
new_proposal_notification_path(proposal_id: proposal.id),
|
||||
class: 'button hollow expanded' %>
|
||||
class: "button hollow expanded" %>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<% if proposal.retired? %>
|
||||
<span class="label alert"><%= t('users.proposals.retired') %></span>
|
||||
<span class="label alert"><%= t("users.proposals.retired") %></span>
|
||||
<% else %>
|
||||
<%= link_to t('users.proposals.retire'),
|
||||
<%= link_to t("users.proposals.retire"),
|
||||
retire_form_proposal_path(proposal),
|
||||
class: 'button hollow alert expanded' %>
|
||||
class: "button hollow alert expanded" %>
|
||||
<% end %>
|
||||
</td>
|
||||
|
||||
<% else %>
|
||||
|
||||
<td class="text-center" colspan="2">
|
||||
<%= link_to t('users.proposals.see'), proposal, class: 'button hollow' %>
|
||||
<%= link_to t("users.proposals.see"), proposal, class: "button hollow" %>
|
||||
</td>
|
||||
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user