app/views/layouts/decidim/_question_header.html.erb in decidim-consultations-0.26.0 vs app/views/layouts/decidim/_question_header.html.erb in decidim-consultations-0.26.1
- old
+ new
@@ -21,13 +21,13 @@
</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>
+ <h2 class="heading2"><%= decidim_sanitize translated_attribute question.title %></h2>
<% unless question.hashtag.blank? %>
<div class="text-center">
- <%= link_to "##{question.hashtag}", "https://twitter.com/hashtag/#{question.hashtag}", target: "_blank" %>
+ <%= link_to "##{question.hashtag}", twitter_hashtag_url(question.hashtag), target: "_blank" %>
</div>
<% end %>
<%= yield :question_header_details if content_for? :question_header_details %>
</div>