1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Added headers to all bulk edit tables

This commit is contained in:
Jeremy Stretch
2016-09-28 17:20:16 -04:00
parent d5fc0e9ce7
commit 5b7f350ded
16 changed files with 104 additions and 30 deletions

View File

@@ -91,7 +91,7 @@ class SecretImportForm(BulkImportForm, BootstrapMixin):
class SecretBulkEditForm(forms.Form, BootstrapMixin):
pk = forms.ModelMultipleChoiceField(queryset=Secret.objects.all(), widget=forms.MultipleHiddenInput)
role = forms.ModelChoiceField(queryset=SecretRole.objects.all())
role = forms.ModelChoiceField(queryset=SecretRole.objects.all(), required=False)
name = forms.CharField(max_length=100, required=False)