Skip to content

Commit

Permalink
Making sure bootstrap_flash is in both layouts in all templates
Browse files Browse the repository at this point in the history
  • Loading branch information
nickveys committed Dec 20, 2012
1 parent 853d862 commit b5ff9af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/generators/bootstrap/layout/templates/layout.html.erb
Expand Up @@ -77,7 +77,8 @@
<%- else -%>
<div class="row">
<div class="span9">
<%%= yield %>
<%%= bootstrap_flash %>
<%%= yield %>
</div>
<div class="span3">
<div class="well sidebar-nav">
Expand Down
1 change: 1 addition & 0 deletions lib/generators/bootstrap/layout/templates/layout.html.haml
Expand Up @@ -44,6 +44,7 @@
%li= link_to "Link 2", "/path2"
%li= link_to "Link 3", "/path3"
.span9
= bootstrap_flash
= yield
<% else %>
.row
Expand Down
1 change: 1 addition & 0 deletions lib/generators/bootstrap/layout/templates/layout.html.slim
Expand Up @@ -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
Expand Down

0 comments on commit b5ff9af

Please sign in to comment.