feat: use bt2 forcomment submit

This commit is contained in:
moanos [he/him] 2024-08-04 14:41:14 +02:00
parent 904a46652e
commit b4fbb13714

View File

@ -128,7 +128,7 @@ class CommentForm(forms.ModelForm):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
self.helper = FormHelper() self.helper = FormHelper()
self.helper.form_class = 'form-comments' self.helper.form_class = 'form-comments'
self.helper.add_input(Submit('submit', _('Kommentieren'))) self.helper.add_input(Submit('submit', _('Kommentieren'), css_class="btn2"))
class Meta: class Meta:
model = Comment model = Comment