Sha256: aaf5ff5f6ed49dca72d4be4ace17637753fe28e783bb78752418fd28a48c4112
Contents?: true
Size: 595 Bytes
Versions: 29
Compression:
Stored size: 595 Bytes
Contents
# frozen_string_literal: true module Decidim module Initiatives # Helper functions for initiatives views module InitiativesHelper def initiatives_filter_form_for(filter) content_tag :div, class: "filters" do form_for filter, builder: Decidim::Initiatives::InitiativesFilterFormBuilder, url: url_for, as: :filter, method: :get, remote: true, html: { id: nil } do |form| yield form end end end end end end
Version data entries
29 entries across 29 versions & 1 rubygems