decidim-meetings/app/views/decidim/meetings/meetings/show.html.erb in decidim-0.0.5 vs decidim-meetings/app/views/decidim/meetings/meetings/show.html.erb in decidim-0.0.6
- old
+ new
@@ -43,29 +43,16 @@
<span class="definition-data__title"><%= t(".organizations") %></span>
<span class="definition-data__text"><%= meeting.attending_organizations %></span>
</div>
</div>
<% end %>
+ <%= feature_reference(meeting) %>
<%= render partial: "decidim/shared/share_modal" %>
</div>
<div class="columns mediumlarge-8 mediumlarge-pull-4">
<div class="section">
<p><%== translated_attribute meeting.description %></p>
- <div class="card card--secondary">
- <div class="card__content address">
- <div class="address__info">
- <div class="address__icon">
- <%= icon "meetings", width: 40, height: 70 %>
- </div>
- <%= render partial: "address_details", locals: { meeting: meeting } %>
- </div>
- <% if Decidim.geocoder.present? %>
- <div class="address__map">
- <%= static_map_link(meeting) %>
- </div>
- <% end %>
- </div>
- </div>
+ <%= render partial: "decidim/shared/static_map", locals: { icon_name: "meetings", geolocalizable: meeting } %>
<%= render partial: "tags", locals: { meeting: meeting } %>
</div>
<% if meeting.closed? %>
<div class="section">
<h3 class="section-heading"><%= t(".meeting_report") %></h3>