diff options
Diffstat (limited to 'app/views/layouts/_notifications.html.erb')
-rw-r--r-- | app/views/layouts/_notifications.html.erb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/layouts/_notifications.html.erb b/app/views/layouts/_notifications.html.erb new file mode 100644 index 0000000..3e1eb83 --- /dev/null +++ b/app/views/layouts/_notifications.html.erb @@ -0,0 +1,8 @@ +<div id="notifications"> + <% if alert %> + <p class="alert"><%= alert %></p> + <% end %> + <% if notice %> + <p class="notice"><%= notice %></p> + <% end %> +</div> |