Source

django-form-designer / form_designer / templates / html / formdefinition / forms / as_p.html

The default branch has multiple heads

Full commit
{% load i18n %}
<h2>{{ form_definition.title }}</h2>
{% if message %}
<ul class="notifications">
  <li>{{ message }}</li>
</ul>
{% endif %}
<form name="{{ form_definition.name }}" action="{{ form_definition.action }}" method="{{ form_definition.method }}" enctype="multipart/form-data">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="{% if form_definition.submit_label %}{{ form_definition.submit_label }}{% else %}{% trans "Submit" %}{% endif %}" />
</form>