Skip to content

Instantly share code, notes, and snippets.

@SamuelMarks
Created December 29, 2012 05:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SamuelMarks/4404704 to your computer and use it in GitHub Desktop.
Save SamuelMarks/4404704 to your computer and use it in GitHub Desktop.
{{if response.flash:}}
<header style="padding-top: 35px">
{{if 'errors' in response.flash:}}
<div class="alert alert-block alert-error fade in">
<button type="button" class="close" data-dismiss="alert">
&times;
</button>
<p>
{{=response.flash}}
</p>
</div>
{{else:}}
<div class="alert alert-block fade in">
<button type="button" class="close" data-dismiss="alert">
&times;
</button>
<p>
{{=response.flash}}
</p>
</div>
{{pass}}
</header>
{{pass}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment