Skip to content

Commit

Permalink
Added name attr contact_plus_form_ <id> for multi form support.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippeowagner committed Nov 10, 2015
1 parent b8793f7 commit 7749d44
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
{% endif %}
{% csrf_token %}
{{ form.as_p }}
<input type="submit"{% if contact.submit %} value="{{ contact.submit }}"{% endif %} />
<input type="submit" name="contact_plus_form_{{ contact.id }}" {% if contact.submit %} value="{{ contact.submit }}"{% endif %} />
</form>
{% else %}
{{ contact.thanks|safe }}
{% endif %}




0 comments on commit 7749d44

Please sign in to comment.