Render related SDGs before tags
When a proposal had geozones, it was a bit strange to have a list of tags, then a list of SDGs, and then another list of tags. So we're changing the order a bit.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<%- limit ||= nil %>
|
||||
|
||||
<%= render SDG::TagListComponent.new(taggable, limit: limit) %>
|
||||
|
||||
<% if taggable.tags.any? %>
|
||||
<ul id="tags_<%= dom_id(taggable) %>" class="tags">
|
||||
<% taggable.tag_list_with_limit(limit).each do |tag| %>
|
||||
@@ -16,5 +18,3 @@
|
||||
<% end %>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
<%= render SDG::TagListComponent.new(taggable, limit: limit) %>
|
||||
|
||||
Reference in New Issue
Block a user