⌚ OpenOpeningstijden main server application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

region.erb 608B

123456789101112131415161718192021222324
  1. <% if @region.places.empty? %>
  2. <p class="alert alert-primary" role="alert">
  3. No places found in <%= @region.name %>
  4. </p>
  5. <% else %>
  6. <%- set_content_for(
  7. :closing_js,
  8. erb(:map_js_partial, locals: { index: @region })
  9. ) %>
  10. <% set_content_for(:region_slug, @region.slug) %>
  11. <% set_content_for(:region_name, @region.name) %>
  12. <% set_content_for(:title, 'Openingstijden') %>
  13. <h2>Openingstijden in <%= @region.name %></h2>
  14. <section class="row">
  15. <%== erb(:aside_places_partial, locals: { index: @region }) %>
  16. <div class="col">
  17. <div id="map" class="full"></div>
  18. </div>
  19. </section>
  20. <% end %>