diff --git a/src/fellchensammlung/forms.py b/src/fellchensammlung/forms.py index 839187a..84c8668 100644 --- a/src/fellchensammlung/forms.py +++ b/src/fellchensammlung/forms.py @@ -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 diff --git a/src/fellchensammlung/templates/fellchensammlung/details/bulma-detail-adoption-notice.html b/src/fellchensammlung/templates/fellchensammlung/details/bulma-detail-adoption-notice.html index 0300a86..76f9433 100644 --- a/src/fellchensammlung/templates/fellchensammlung/details/bulma-detail-adoption-notice.html +++ b/src/fellchensammlung/templates/fellchensammlung/details/bulma-detail-adoption-notice.html @@ -126,6 +126,6 @@ {% endfor %} - {% include "fellchensammlung/partials/partial-comment-section.html" %} + {% include "fellchensammlung/partials/bulma-partial-comment-section.html" %} {% endblock %} diff --git a/src/fellchensammlung/templates/fellchensammlung/forms/bulma-form-comment.html b/src/fellchensammlung/templates/fellchensammlung/forms/bulma-form-comment.html new file mode 100644 index 0000000..a62f6f8 --- /dev/null +++ b/src/fellchensammlung/templates/fellchensammlung/forms/bulma-form-comment.html @@ -0,0 +1,15 @@ +{% load i18n %} +{% load crispy_forms_tags %} + +
{% translate 'Noch keine Kommentare' %}
+ {% endif %} +