- Removed links to the gov uk stylesheets

- Deleted /stylesheets folder
- Removed sass build from gulpfile
- Changed gov links to usa links
- Changed other govuk styles, like breadcrumbs
- Changed name of uk_components file to us_components
- Fixed a few tests that broke on account of the changes
This commit is contained in:
Jonathan Bobel
2023-08-08 16:19:17 -04:00
parent 9c384c1183
commit 348e29fb40
354 changed files with 449 additions and 5979 deletions

View File

@@ -256,7 +256,7 @@ def govuk_text_input_field_widget(self, field, type=None, param_extensions=None,
merge_jsonlike(params, param_extensions)
return Markup(
render_template('components/uk_components/input/template.njk', params=params))
render_template('components/us_components/input/template.njk', params=params))
class GovukTextInputField(StringField):
@@ -791,7 +791,7 @@ def govuk_radios_field_widget(self, field, param_extensions=None, **kwargs):
merge_jsonlike(params, param_extensions)
return Markup(
render_template('components/uk_components/radios/template.njk', params=params))
render_template('components/us_components/radios/template.njk', params=params))
class GovukCheckboxField(BooleanField):
@@ -848,7 +848,7 @@ class GovukTextareaField(TextAreaField):
merge_jsonlike(params, param_extensions)
return Markup(
render_template('components/uk_components/textarea/template.njk', params=params))
render_template('components/us_components/textarea/template.njk', params=params))
# based on work done by @richardjpope: https://github.com/richardjpope/recourse/blob/master/recourse/forms.py#L6