govuk-form-builder

A form builder for Ruby on Rails that’s compatible with the GOV.UK Design System.

MIT License

Downloads
694K
Stars
75

Bot releases are hidden (Show)

govuk-form-builder - Version 0.9.2

Published by peteryates about 5 years ago

  • Improve the display of the textarea character count by removing the limit text, now only the "You have X characters remaining" text shows.
  • Fix a bug where when errors were present the corresponding label wasn't properly associated with the input
govuk-form-builder - Version 0.9.1

Published by peteryates about 5 years ago

Fixes a bug where a missing govuk- prefix prevented the textarea character counter from working

govuk-form-builder -

Published by peteryates about 5 years ago

This is the first beta for 1.0.0

New features included in this release:

  • Compatibility with Version 3 of the GOV.UK Design System (#19)
  • Improved error display, now only the first error per attribute is shown in both the summary and individual error messages (#20)
  • Various refactorings and improvements to the test suite (7489de2)
govuk-form-builder - Version 0.7.10

Published by peteryates about 5 years ago

This release:

  • improves the linking between the #govuk_error_summary list items and form elements, in particular it
    • links errors on regular inputs directly to the corresponding input element
    • links errors on text areas directly to the corresponding textarea element
    • links errors on select boxes directly to the corresponding select element
    • links errors on file inputs directly to the corresponding input element
    • links errors on date fields to the date's day input element
    • links errors on collection radio buttons to the first radio input
    • links errors on collection check boxes to the first checkbox input
    • provides a mechanism to mark the first checkbox or radio in the checkbox/radio fieldset helpers as being the target for error links
  • Adds #govuk_file_field
  • Adds support for labels as headings
  • Adds Travis and CodeClimate integrations
  • Plenty of smaller fixes, refactorings and tidying
Package Rankings
Top 3.89% on Rubygems.org
Badges
Extracted from project README
Tests Maintainability Gem version Gem Test Coverage GitHub license GOV.UK Design System version Rails Ruby Netlify Status
Related Projects