README.md in katalyst-govuk-formbuilder-1.9.4 vs README.md in katalyst-govuk-formbuilder-1.10.0
- old
+ new
@@ -21,20 +21,20 @@
## Usage
Add the stylesheet to your default layout:
-```erbruby
+```erb
<%= stylesheet_link_tag "katalyst/govuk/formbuilder" %>
```
Some GOVUK components require javascript enhancements
(see [GOVUK docs](https://frontend.design-system.service.gov.uk/get-started/#5-get-the-javascript-working)).
You can use the provided helper to load the formbuilder esm from importmaps and enhance your form:
-```erbruby
+```erb
<%= form_with ... %>
<%= govuk_formbuilder_init %>
```
You'll need to include the helper to make this method available, which you can add to your `ApplicationController`:
@@ -47,14 +47,10 @@
Bug reports and pull requests are welcome on GitHub at https://github.com/katalyst/govuk-formbuilder.
## Release
-Update the version number in `lib/katalyst/govuk/formbuilder/version.rb` and run:
-
-```bash
-bundle exec rake release
-```
+Tag the release version and push to CI.
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).