diff options
Diffstat (limited to 'ogcp/forms')
-rw-r--r-- | ogcp/forms/action_forms.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index a2cac37..5e8bce1 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -58,6 +58,12 @@ class PartitionForm(FlaskForm): size = IntegerField(label=_l('Size (KB)')) format_partition = BooleanField(label=_l('Format')) +class SelectClientForm(FlaskForm): + ips = HiddenField() + selected_client = SelectField(label=_l('Select one client as reference to ' + 'define the partition scheme')) + ok = SubmitField(label=_l('Ok')) + class SetupForm(FlaskForm): ips = HiddenField() disk = HiddenField() |