adds link to explanation
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<h1><%= @proposal.title %></h1>
|
||||
<% if @proposal.retired? %>
|
||||
<div data-alert class="callout alert margin-top">
|
||||
<strong><%= t("proposals.show.retired_warning") %></strong>
|
||||
<strong><%= t("proposals.show.retired_warning") %> <%= link_to t("proposals.show.retired_warning_link_to_explanation"), "#retired_explanation" %></strong>
|
||||
</div>
|
||||
<% elsif @proposal.conflictive? %>
|
||||
<div data-alert class="callout alert margin-top">
|
||||
@@ -79,6 +79,7 @@
|
||||
<h4><%= @proposal.question %></h4>
|
||||
|
||||
<% if @proposal.retired? %>
|
||||
<a id="retired_explanation"></a>
|
||||
<h2><%= t('proposals.show.retired') %>: <%= t("proposals.retire_options.#{@proposal.retired_reason}") unless @proposal.retired_reason == 'other' %></h2>
|
||||
<%= simple_format text_with_links(@proposal.retired_explanation), {}, sanitize: false %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user