Sha256: f604251cefe8837c106eefbc37fbde140afca6924ad25c8bc64e7a8d7bb6ff66

Contents?: true

Size: 1.44 KB

Versions: 15

Compression:

Stored size: 1.44 KB

Contents

<div class="consultations-header row column">
  <div class="row column consultations-header__main"
       style="background-image:url(<%= question.banner_image_url %>);">
    <div class="consultations-header__container row">
      <div class="columns mediumlarge-9 consultations-header__info">
        <div>
          <h1 class="text-highlight heading2">
            <%= link_to translated_attribute(question.consultation.title),
                        decidim_consultations.consultation_path(question.consultation) %>
          </h1>
          <%= link_to decidim_consultations.consultations_path, class: "consultations-header__link" do %>
            <%= t ".back_to_consultation" %>
            <%= icon "media-play", role: "img", "aria-hidden": true %>
          <% end %>
        </div>
      </div>

      <%= render partial: "layouts/decidim/consultation_voting_data", locals: { consultation: question.consultation } %>
    </div>
  </div>
</div>

<%= yield :question_header_instructions if content_for? :question_header_instructions %>

<div class="row column consultations-title">
  <h1 class="heading2"><%= decidim_sanitize translated_attribute question.title %></h1>
  <% unless question.hashtag.blank? %>
    <div class="text-center">
      <%= link_to "##{question.hashtag}", "https://twitter.com/hashtag/#{question.hashtag}", target: "_blank" %>
    </div>
  <% end %>

  <%= yield :question_header_details if content_for? :question_header_details %>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
decidim-consultations-0.24.3 app/views/layouts/decidim/_question_header.html.erb
decidim-consultations-0.23.6 app/views/layouts/decidim/_question_header.html.erb
decidim-consultations-0.24.2 app/views/layouts/decidim/_question_header.html.erb
decidim-consultations-0.23.5 app/views/layouts/decidim/_question_header.html.erb
decidim-consultations-0.24.1 app/views/layouts/decidim/_question_header.html.erb
decidim-consultations-0.24.0 app/views/layouts/decidim/_question_header.html.erb
decidim-consultations-0.24.0.rc2 app/views/layouts/decidim/_question_header.html.erb
decidim-consultations-0.23.4 app/views/layouts/decidim/_question_header.html.erb
decidim-consultations-0.24.0.rc1 app/views/layouts/decidim/_question_header.html.erb
decidim-consultations-0.23.3 app/views/layouts/decidim/_question_header.html.erb
decidim-consultations-0.23.2 app/views/layouts/decidim/_question_header.html.erb
decidim-consultations-0.23.1 app/views/layouts/decidim/_question_header.html.erb
decidim-consultations-0.23.1.rc1 app/views/layouts/decidim/_question_header.html.erb
decidim-consultations-0.23.0 app/views/layouts/decidim/_question_header.html.erb
decidim-consultations-0.22.0 app/views/layouts/decidim/_question_header.html.erb