Skip to content

Commit

Permalink
adds @bs4 arguments for render_flash calls and restores horizontal st…
Browse files Browse the repository at this point in the history
…atus in bs4 layout
  • Loading branch information
charlienparker committed May 20, 2024
1 parent b4456c6 commit 94edc45
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion app/views/layouts/bootstrap_4.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@
<%= render 'users/security_question_responses/modal' %>
<% end %>

<%= render_flash(use_bs4: @bs4) %>
<%= render_flash use_bs4: @bs4 %>

<aside class="container">
<%= yield :horizontal_status %>
</aside>

<% if content_for? :content %>
<%= yield :content %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/bootstrap_4_two_column.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</div>
<div class="col-md-10">
<div class="col-xs-12 notice">
<%= render_flash %>
<%= render_flash use_bs4: @bs4 %>
</div>
<%= yield %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/progress.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<% end %>

<div class="mt-4 mb-4">
<%= render_flash(use_bs4: true) %>
<%= render_flash use_bs4: @bs4 %>
<div class="container mt-4">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-3 mr-auto p-0">
Expand Down

0 comments on commit 94edc45

Please sign in to comment.