diff --git a/mandelstudio/templates/contact_form/blocks/contact-form.html b/mandelstudio/templates/contact_form/blocks/contact-form.html new file mode 100644 index 0000000..ca24fbd --- /dev/null +++ b/mandelstudio/templates/contact_form/blocks/contact-form.html @@ -0,0 +1,29 @@ +{% load i18n %} +

{{ self.title }}

+
+ +{% if messages %} +
+ {% for message in messages %} + + {% endfor %} +
+{% endif %} + +
+ {% csrf_token %} +
+
+ {% for field in form %} +
+ {% include 'oscar/partials/form_field.html' with field=field placeholder=field.field.widget.attrs.placeholder %} +
+ {% endfor %} +
+ +
+
+
+