Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Making sure bootstrap_flash is in both layouts in all templates

  • Loading branch information...
commit b5ff9af40f4d16dd48d76615ba5f3a0c7c457707 1 parent 853d862
@nickveys nickveys authored
View
3  lib/generators/bootstrap/layout/templates/layout.html.erb
@@ -77,7 +77,8 @@
<%- else -%>
<div class="row">
<div class="span9">
- <%%= yield %>
+ <%%= bootstrap_flash %>
+ <%%= yield %>
</div>
<div class="span3">
<div class="well sidebar-nav">
View
1  lib/generators/bootstrap/layout/templates/layout.html.haml
@@ -44,6 +44,7 @@
%li= link_to "Link 2", "/path2"
%li= link_to "Link 3", "/path3"
.span9
+ = bootstrap_flash
= yield
<% else %>
.row
View
1  lib/generators/bootstrap/layout/templates/layout.html.slim
@@ -44,6 +44,7 @@ html lang="en"
li= link_to "Link 2", "/path2"
li= link_to "Link 3", "/path3"
.span9
+ = bootstrap_flash
= yield
<% else %>
.row
Please sign in to comment.
Something went wrong with that request. Please try again.