Sha256: 96f011669558f6ec68ac00941266199ea5df037ad8f7d63fcd65cc70a8e13b50
Contents?: true
Size: 1.85 KB
Versions: 14
Compression:
Stored size: 1.85 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" %> <% end %> </div> </div> <%= render partial: "layouts/decidim/consultation_voting_data", locals: { consultation: question.consultation } %> </div> </div> </div> <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> <% if question.external_voting %> <iframe src="<%= question.i_frame_url %>"></iframe> <% else %> <% if question.results_published? %> <%= render partial: "decidim/consultations/questions/results", locals: { question: question } %> <% else %> <div id="question-<%= question.id %>-vote-button"> <%= render partial: "decidim/consultations/questions/vote_button", locals: { question: question } %> </div> <% end %> <% end %> <%= render partial: "layouts/decidim/question_components", locals: { question: question } %>
Version data entries
14 entries across 14 versions & 1 rubygems