Sha256: 1030de0e4aeb08fe83c935324c2ac3774d13250f850dd3f3a3bc0303ef51f3e9

Contents?: true

Size: 240 Bytes

Versions: 3

Compression:

Stored size: 240 Bytes

Contents

module GovukDesignSystem
  module DateInputHelper
    def govukDateInput(kwargs = {})
      form = kwargs[:form]
      render((form.present? ? "form_components/govuk_date_input" : "components/govuk_date_input"), **kwargs)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
govuk-design-system-rails-0.10.3 app/helpers/govuk_design_system/date_input_helper.rb
govuk-design-system-rails-0.10.2 app/helpers/govuk_design_system/date_input_helper.rb
govuk-design-system-rails-0.10.1 app/helpers/govuk_design_system/date_input_helper.rb