diff --git a/src/registrar/templates/domain_dsdata.html b/src/registrar/templates/domain_dsdata.html index 63c335a74..c357a1000 100644 --- a/src/registrar/templates/domain_dsdata.html +++ b/src/registrar/templates/domain_dsdata.html @@ -125,6 +125,7 @@
Key tag | @@ -216,24 +217,24 @@|||||||
---|---|---|---|---|---|---|---|
- {% with sublabel_text="Numbers (0-9) only." %} + | + {% with sublabel_text="(1-65534)." %} {% with attr_required=True add_initial_value_attr=True add_group_class="usa-form-group--unstyled-error margin-top-0" use_small_sublabel_text=True inline_error_class="font-body-xs" %} {% input_with_errors form.key_tag %} {% endwith %} {% endwith %} | -+ | {% with attr_required=True add_initial_value_attr=True add_group_class="usa-form-group--unstyled-error margin-top-0" use_small_sublabel_text=True inline_error_class="font-body-xs" %} {% input_with_errors form.algorithm %} {% endwith %} | -+ | {% with attr_required=True add_initial_value_attr=True add_group_class="usa-form-group--unstyled-error margin-top-0" use_small_sublabel_text=True inline_error_class="font-body-xs" %} {% input_with_errors form.digest_type %} {% endwith %} | -+ | {% with sublabel_text="Numbers (0-9) and letters (a-f) only. SHA-1: 40 chars, SHA-256: 64 chars." %} {% with attr_required=True add_initial_value_attr=True add_group_class="usa-form-group--unstyled-error margin-top-0" use_small_sublabel_text=True inline_error_class="font-body-xs" %} {% input_with_errors form.digest %} diff --git a/src/registrar/utility/errors.py b/src/registrar/utility/errors.py index dac730705..52fac1785 100644 --- a/src/registrar/utility/errors.py +++ b/src/registrar/utility/errors.py @@ -262,7 +262,7 @@ class DsDataError(Exception): DsDataErrorCodes.INVALID_DIGEST_SHA1: ("SHA-1 digest must be exactly 40 characters."), DsDataErrorCodes.INVALID_DIGEST_SHA256: ("SHA-256 digest must be exactly 64 characters."), DsDataErrorCodes.INVALID_DIGEST_CHARS: ("Digest must contain only alphanumeric characters (0-9, a-f)."), - DsDataErrorCodes.INVALID_KEYTAG_SIZE: ("Key tag must be greater than 0 and less than 65535."), + DsDataErrorCodes.INVALID_KEYTAG_SIZE: ("Enter a number between 1 and 65534."), DsDataErrorCodes.INVALID_KEYTAG_CHARS: ("Key tag must be numeric (0-9)."), } |