mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Style correction (missing ending new line), removed commented line in ColorThemeSelectForm
This commit is contained in:
parent
10dd8fad80
commit
8e2d568a42
@ -180,7 +180,6 @@ class ColorThemeSelectForm(forms.ModelForm):
|
||||
# Form rendering
|
||||
self.helper.form_show_labels = False
|
||||
self.helper.form_class = 'form-inline'
|
||||
# self.helper.field_template = 'bootstrap4/layout/inline_field.html'
|
||||
self.helper.layout = Layout(
|
||||
Field('name'),
|
||||
StrictButton(_('Apply Theme'), css_class='btn btn-primary', type='submit')
|
||||
|
@ -168,4 +168,4 @@ class ColorTheme(models.Model):
|
||||
default=ColorThemeChoices.DEFAULT,
|
||||
blank=True)
|
||||
|
||||
user = models.CharField(max_length=150)
|
||||
user = models.CharField(max_length=150)
|
||||
|
Loading…
Reference in New Issue
Block a user