Sha256: 2f59dd71090c5316c0f262a263e0a499cf0489f4af79ab12f3f406a9e0b1a090

Contents?: true

Size: 223 Bytes

Versions: 31

Compression:

Stored size: 223 Bytes

Contents


ActionView::Helpers::FormBuilder.class_eval do

  def gov_uk_date_field(attribute, options={})
    date_fields = GovUkDateFields::FormFields.new(self, @object_name, attribute, options)
    date_fields.output
  end

end

 

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
gov_uk_date_fields-4.2.0 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-3.2.0 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-3.2.0.rc3 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-3.2.0.rc2 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-3.2.0.rc1 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-4.1.0 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-4.0.1 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-4.0.0 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-3.1.0 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-3.0.0 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-2.2.0 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-2.1.1 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-2.1.0 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-2.0.3 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-2.0.2 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-1.2.3 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-1.2.2 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-1.2.1 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-1.2.0 lib/gov_uk_date_fields/form_builder.rb
gov_uk_date_fields-1.1.0 lib/gov_uk_date_fields/form_builder.rb