Closed peteryates closed 4 years ago
I think we should include a back_to_top link helper. I saw that pulled out into a helper and used a bunch on SE
I think this list should be in the Readme so its more visible which components it does have.
Everything except Table is in. Closing this as table might be a bit involved, opened #53 to address it.
This is a central progress/tracking issue for components based on @tijmenb's list (#3)
Components
Helpers
#govuk_link_to
#15#govuk_mail_to
#36#govuk_button_to
(thinking this should map to Rails'button_to
but maybe there's also need for a link styled as a button #36#govuk_back_to_top_link
#19Other useful stuff
Perhaps this shouldn't be in here, but it's something that's probably useful to every project. Maybe it's better suited to the DfE Rails Boilerplate
A GOV.UK date format that can be used by Rails' date helpers, egA PR with this functionality has been submitted to the boilerplateobject.submitted_on.to_formatted_s(:govuk)
, see example.