Files @ 2aae2af55dea
Branch filter:

Location: symposion_app/vendor/symposion/constants.py

James Polley
Disable client-side validation on credit_note forms

* HTML5 browsers have some clevers to do client-side validation of
forms
* Django activates this by default for certain field types
* However, in this case, there are three forms on this page. We rely
on two of them being invalid in order to figure out what processing
to do.
* So we need to disable the client-side validation.
1
2
3
4
5
TEXT_FIELD_MONOSPACE_NOTE=(
    "This field is rendered with the monospace font "
    "<a tabindex=\"-1\" href=\"https://sourcefoundry.org/hack/\">Hack</a> with "
    "whitespace preserved")