mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-01 03:54:15 +00:00
9 lines
410 B
Python
9 lines
410 B
Python
|
from django import forms
|
||
|
|
||
|
|
||
|
class AddSecret(forms.Form):
|
||
|
ephemeral = forms.ChoiceField(required=True, choices=(('no', 'no'), ('yes', 'yes')))
|
||
|
private = forms.ChoiceField(required=True, choices=(('no', 'no'), ('yes', 'yes')))
|
||
|
usage_type = forms.ChoiceField(required=True, choices=(('ceph', 'ceph'), ('volume', 'volume'), ('iscsi', 'iscsi')))
|
||
|
data = forms.CharField(max_length=100, required=True)
|