aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/forms.py
diff options
context:
space:
mode:
authorMR Lemon <matt@matthewlemon>2020-04-30 17:09:25 +0100
committerMR Lemon <matt@matthewlemon>2020-04-30 17:09:25 +0100
commit18a273f684946d2a6ad99ae579339f787bfaa0c2 (patch)
tree1cd04209668781436e966fdc5bd6db4c078f6bb9 /ctrack/organisations/forms.py
parentc64bb5a27abc47fe0103b5772e37c3c9818820d9 (diff)
first cut at doing a form wizard for the organisation. Need to split fields to add bootstrap
Diffstat (limited to 'ctrack/organisations/forms.py')
-rw-r--r--ctrack/organisations/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrack/organisations/forms.py b/ctrack/organisations/forms.py
index d4baf64..ab92e64 100644
--- a/ctrack/organisations/forms.py
+++ b/ctrack/organisations/forms.py
@@ -14,7 +14,7 @@ class OrganisationCreateForm(forms.ModelForm):
self.helper.layout = Layout(
Fieldset(
"",
- Field("name", css_class="form-control-lg"),
+ Field("name", css_class="form-control"),
"submode",
"oes",
"designation_type",
@@ -53,7 +53,7 @@ class AddressCreateForm(forms.ModelForm):
'country', 'other_details')
def __init__(self, *args, **kwargs):
- self.org = kwargs.pop("org")
+ # self.org = kwargs.pop("org")
super().__init__(*args, **kwargs)
def save(self):