Skip to content

Commit

Permalink
Fix notices
Browse files Browse the repository at this point in the history
  • Loading branch information
GwendolenLynch committed Apr 14, 2015
1 parent 936e00c commit 12a4f03
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/boltforms_form.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
{% endblock boltforms_css %}

<div class="boltform">
{% if error and app.request.request.get('boltforms') %}
{% if error and app.request.get(formname) %}
<p class="boltform-error">{{ error }}</p>
{% endif %}

{% if message and app.request.request.get('boltforms') %}
{% if message and app.request.get(formname) %}
<p class="boltform-message">{{ message }}</p>
{% endif %}

Expand All @@ -26,7 +26,7 @@
</script>
{% endif %}

{{ form_start(form, {'attr': {'name': 'boltforms'}}) }}
{{ form_start(form, {'attr': {'name': formname}}) }}
{{ form_errors(form) }}

{% for key, value in fields %}
Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog for Bolt Forms

* 2.1.4 (2015-04-14)

* Fix notices

* 2.1.3 (2015-04-13)

Expand Down

0 comments on commit 12a4f03

Please sign in to comment.