Sha256: 31bddfec06461c0294398d2535728289ccef7b91fada3349eb0f1a15b7c2b202
Contents?: true
Size: 1.96 KB
Versions: 66
Compression:
Stored size: 1.96 KB
Contents
- current_date = FestivityDatetimePresenter.new current_site.festival_datetimes.first.datetime - 1.day .events-filter-bar__wrapper %p.event-filter-bar__header Filters %i#spinner.fa.fa-spinner.fa-pulse.hide %a.btn.btn-primary.visible-xs-block.visible-sm-block.done-button{data: {toggle: "offcanvas", target: "#myNavmenu", canvas: "body"}} Done %form - %div#collapse-wrapper{data: {collapse: true}} %h3.open Dates %ul.filter-bar_filters.date-filters - current_site.festival_datetimes.each do |datetime| - unless current_site.date_filter? - unless current_date.to_date == datetime.to_date - current_date = datetime %li %h4 = current_date.display_as_date %li .checkbox %label - checked = @selected_dates.any? {|selected_date| selected_date == datetime} %input{type: "checkbox", value: datetime.to_s, checked: checked, data: {filter: "Date", sort: datetime.to_s}} = datetime.display - current_site.festivity_active_category_types.each do |type| %h3 = type.name %ul.filter-bar_filters.category-filters - type.parent_categories.each do |parent| %li .checkbox.checkbox.parent %label - checked = @selected_categories.include? parent.id.to_s %input{type: "checkbox", value: parent.id, data: {filter: type.name, sort: parent.name.downcase}, checked: checked} = parent.name - parent.children.each do |child| %li .checkbox.checkbox.child %label - checked = @selected_categories.include? child.id.to_s %input{type: "checkbox", value: child.id, data: {filter: type.name, sort: child.name.downcase}, checked: checked} = child.name
Version data entries
66 entries across 66 versions & 1 rubygems