diff options
Diffstat (limited to 'template/en/default/attachment/createformcontents.html.tmpl')
-rw-r--r-- | template/en/default/attachment/createformcontents.html.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/template/en/default/attachment/createformcontents.html.tmpl b/template/en/default/attachment/createformcontents.html.tmpl index 48e4f4af0..293fc3d92 100644 --- a/template/en/default/attachment/createformcontents.html.tmpl +++ b/template/en/default/attachment/createformcontents.html.tmpl @@ -68,6 +68,9 @@ <label for="manual">enter manually</label>: <input type="text" name="contenttypeentry" id="contenttypeentry" size="30" maxlength="200" + pattern="([% constants.LEGAL_CONTENT_TYPES.join('|') FILTER html %])/.+" + title="The content type must be of the form 'type/subtype', where 'type' + is one of: [% constants.LEGAL_CONTENT_TYPES.join(', ') FILTER html %]" onchange="if (this.value) this.form.contenttypemethod[2].checked = true;"> </td> </tr> |