Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
urbanmetamapping
platform
MapMyMaps-p1
Commits
e87a5114
Commit
e87a5114
authored
Mar 02, 2022
by
Klaus Stein
Browse files
Add alert to main layout
parent
b0b36269
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/views/layouts/application.html.erb
View file @
e87a5114
...
...
@@ -12,6 +12,9 @@
<body
class=
"
<%=
yield
(
:cssclass
).
presence
or
'default'
%>
"
>
<%=
render
'layouts/menu'
%>
<%
if
alert
%>
<p
class=
"alert alert-danger"
>
<%=
alert
%>
</p>
<%
end
%>
<div
class=
"page"
>
<%=
yield
%>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment