Skip to content

Commit

Permalink
Merge branch 'feature/view-notice' into develop
Browse files Browse the repository at this point in the history
# Conflicts:
#	app/views/layouts/application.html.erb
  • Loading branch information
x1wins committed Jun 12, 2021
2 parents e7f5c41 + 36c3367 commit 41200ab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/views/layouts/_notice.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<% if notice.present? %>
<p class="notification is-success">
<button class="delete"></button>
<%= notice %>
</p>
<% end %>
5 changes: 5 additions & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
</div>
</header>
<div class="section">
<div class="columns">
<div class="column">
<%= render "layouts/notice" %>
</div>
</div>
<div class="columns">
<div class="column">
<%= render "layouts/breadcrumb", controller_name: controller_name, action_name: controller.action_name.capitalize %>
Expand Down

0 comments on commit 41200ab

Please sign in to comment.