Files
nairobi/app/views/legislation/processes/_header_full.html.erb
Javi Martín a877449936 Add related SDG and targets tags to processes
I'm not sure why we were using squares to style these lists see commit
bbacd4546b) but I don't think it's very important and it breaks
displaying the list of related SDGs.
2021-01-31 13:33:27 +01:00

22 lines
784 B
Plaintext

<% if @process.description.present? %>
<p class="title"><%= t("legislation.processes.header.description") %></p>
<%= markdown @process.description %>
<% end %>
<%= render SDG::TagListComponent.new(@process, linkable: false) %>
<% if @process.additional_info.present? %>
<div id="additional_info" class="is-hidden" data-toggler=".is-hidden">
<hr>
<p class="title"><%= t("legislation.processes.header.additional_info") %></p>
<%= markdown @process.additional_info if @process.additional_info %>
</div>
<a class="button" data-toggle="additional_info"
<% if banner_color? %>
style="background:<%= process.font_color %>; color:<%= process.background_color %>;"
<% end %>>
<%= t("legislation.processes.header.additional_info") %>
</a>
<% end %>