Skip to content

Commit

Permalink
add messages region to page template and info file
Browse files Browse the repository at this point in the history
  • Loading branch information
zaclittleberry committed Jul 22, 2015
1 parent 12f8db9 commit 33e5a74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/page.html.twig
Expand Up @@ -119,10 +119,10 @@
</div>
</div>

{% if messages and not zurb_foundation_messages_modal %}
{% if page.messages and not zurb_foundation_messages_modal %}
<div class="l-messages row">
<div class="large-12 columns">
{{ messages }}
{{ page.messages }}
</div>
</div>
{% endif %}
Expand Down
1 change: 1 addition & 0 deletions zurb_foundation.info.yml
Expand Up @@ -17,6 +17,7 @@ libraries:

regions:
header: Header
messages: Messages
help: Help
page_top: 'Page top'
page_bottom: 'Page bottom'
Expand Down

0 comments on commit 33e5a74

Please sign in to comment.