Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Commit

Permalink
ROC-6037 35 char address lines (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewwa-kainos authored Aug 1, 2019
1 parent 57800d2 commit 6f48592
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions macros/address.njk
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<span class="error-message">{{ t(line1Error) }}</span>
{% endif %}
<input id="{{ line1Name }}"
maxlength="20"
maxlength="35"
class="form-control form-group-compound address-line1 {% if line1Error %} form-control-error{% endif %}"
name="{{ line1Name }}"
autocomplete="address-line1"
Expand All @@ -111,7 +111,7 @@
<span class="error-message">{{ t(line2Error) }}</span>
{% endif %}
<input id="{{ line2Name }}"
maxlength="20"
maxlength="35"
class="form-control form-group-compound address-line2 {% if line2Error %} form-control-error{% endif %}"
name="{{ line2Name }}"
autocomplete="address-line2"
Expand All @@ -122,7 +122,7 @@
<span class="error-message">{{ t(line3Error) }}</span>
{% endif %}
<input id="{{ line3Name }}"
maxlength="20"
maxlength="35"
class="form-control address-line3 {% if line3Error %} form-control-error{% endif %}"
name="{{ line3Name }}"
autocomplete="address-line3"
Expand All @@ -131,7 +131,7 @@
/>
</div>
{{ textInput('Town or city', name + '[city]' if name else 'city', form, inputClass='address-town-or-city',
compound=true, autocomplete = 'address-level2', maxLength=20) }}
compound=true, autocomplete = 'address-level2', maxLength=35) }}
{{ textInput('Postcode', name + '[postcode]' if name else 'postcode', form, inputClass='postcode form-control-1-4',
autocomplete = 'postal-code') }}
{% endmacro %}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/cmc-common-frontend",
"version": "1.55.0",
"version": "1.55.1",
"author": "HMCTS",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit 6f48592

Please sign in to comment.