feat: Add basic bulma version of comment form

This commit is contained in:
2025-04-23 21:12:22 +02:00
parent b0dc0f9d78
commit bb085aa9a8
4 changed files with 42 additions and 2 deletions

View File

@@ -164,7 +164,7 @@ class CommentForm(forms.ModelForm):
self.helper = FormHelper()
self.helper.form_class = 'form-comments'
self.helper.add_input(Hidden('action', 'comment'))
self.helper.add_input(Submit('submit', _('Kommentieren'), css_class="btn2"))
self.helper.add_input(Submit('submit', _('Kommentieren'), css_class="button is-primary"))
class Meta:
model = Comment