Sha256: 01580c48d556af546826d5aa9fca31c0928e8e437c986bc98fb07f81946fcdab

Contents?: true

Size: 758 Bytes

Versions: 4

Compression:

Stored size: 758 Bytes

Contents

<% if initiative.accepted? && initiative.answered? && translated_attribute(initiative.answer).present? %>
  <br />
  <div class="row column">
    <div class="callout success">
      <h5><%= t(".initiative_accepted_reason") %>:</h5>
      <p>
        <% if initiative.answer_url %>
          <a href="<%= initiative.answer_url %>" target="_blank">
            <%= sanitize translated_attribute initiative.answer %>
          </a>
        <% else %>
          <%= sanitize translated_attribute initiative.answer %>
        <% end %>
      </p>
    </div>
  </div>
<% end %>

<% if initiative.rejected? %>
  <br />
  <div class="row column">
    <div class="callout warning">
      <h5><%= t(".initiative_rejected_reason") %></h5>
    </div>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-initiatives-0.11.2 app/views/decidim/initiatives/initiatives/_result.html.erb
decidim-initiatives-0.12.0.pre app/views/decidim/initiatives/initiatives/_result.html.erb
decidim-initiatives-0.11.1 app/views/decidim/initiatives/initiatives/_result.html.erb
decidim-initiatives-0.11.0.pre1 app/views/decidim/initiatives/initiatives/_result.html.erb