-
-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathforms.py
More file actions
21 lines (18 loc) · 657 Bytes
/
forms.py
File metadata and controls
21 lines (18 loc) · 657 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# Copyright (c) nexB Inc. and others. All rights reserved.
# purldb is a trademark of nexB Inc.
# SPDX-License-Identifier: Apache-2.0
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
# See https://github.com/aboutcode-org/purldb for support or download.
# See https://aboutcode.org for more information about nexB OSS projects.
#
from django import forms
class PackageSearchForm(forms.Form):
search = forms.CharField(
required=True,
widget=forms.TextInput(
attrs={
"placeholder": "pkg:maven/org.elasticsearch/elasticsearch@7.17.9?classifier=sources"
},
),
)