summaryrefslogtreecommitdiffstats
path: root/ogcp/forms
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-05-13 10:07:52 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-05-13 10:07:52 +0200
commit7299b157d7a21f1c389daee75a78019f770d6368 (patch)
treed15bcbd4288fdce50cc066ccb6459e6f116414ad /ogcp/forms
parent2b905ddcaf9ffcf66edb5a228f8626bc9ac7d78e (diff)
remove Format field from partition setup form
Remove the 'Format' field from the Partition and Format form as the default value will always be to format the partitions. This will lead to less portantial codepaths to maintain and support and less manual clicks in the web form.
Diffstat (limited to 'ogcp/forms')
-rw-r--r--ogcp/forms/action_forms.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py
index f2a3602..94388c8 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -56,7 +56,6 @@ class PartitionForm(FlaskForm):
('FAT32', 'FAT32'),
('EMPTY', 'Empty')])
size = IntegerField(label=_l('Size (KB)'))
- format_partition = BooleanField(label=_l('Format'))
class SelectClientForm(FlaskForm):
ips = HiddenField()