mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-18 13:39:57 -04:00
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user