diff --git a/load_templates.sh b/load_templates.sh index 159767b..1d095f5 100755 --- a/load_templates.sh +++ b/load_templates.sh @@ -6,7 +6,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd "${DIR}"/ -DESIGN_SYSTEM_VERSION="65.1.0" +DESIGN_SYSTEM_VERSION="70.0.2" TEMP_DIR=$(mktemp -d) diff --git a/rh_ui/templates/info_pages/cookies.html b/rh_ui/templates/info_pages/cookies.html index 5b39b32..1c11788 100644 --- a/rh_ui/templates/info_pages/cookies.html +++ b/rh_ui/templates/info_pages/cookies.html @@ -26,7 +26,7 @@ {% call onsPanel({ "classes": "ons-u-mb-s ons-u-d-no ons-cookies-confirmation-message", - "type": "success" + "variant": "success" }) %}
{{ _('Some parts of start.surveys.ons.gov.uk may use additional cookies and will have their own cookie policy and diff --git a/rh_ui/templates/partials/messages.html b/rh_ui/templates/partials/messages.html index 9d732cc..2527ed1 100644 --- a/rh_ui/templates/partials/messages.html +++ b/rh_ui/templates/partials/messages.html @@ -13,7 +13,7 @@ {%- if itemsList.append( { 'text': error_uac['text'], 'url': '#' + error_uac['field'], - 'classes': 'js-inpagelink' + 'variants': 'inPageLink' } ) -%} {%- endif -%} @@ -23,7 +23,7 @@ {%- call onsPanel({ 'title': errorTitle, - 'type': 'error' + 'variant': 'error' }) -%} diff --git a/rh_ui/templates/start.html b/rh_ui/templates/start.html index c954c4f..9acfdea 100644 --- a/rh_ui/templates/start.html +++ b/rh_ui/templates/start.html @@ -4,14 +4,6 @@ {% from "components/button/_macro.njk" import onsButton %} {% from "components/details/_macro.njk" import onsDetails %} -{% set form = { - 'method': 'POST', - 'attributes': { - 'action': url_for('i18n.start_bp.start_post') - } -} %} - - {# display uac error msg if exists #} {% set flashed_messages = get_flashed_messages() %} @@ -32,7 +24,7 @@ {%- endif -%} {% block main %} - +
{% endblock %} \ No newline at end of file