lib/views/layout.erb in quickapps_feedback-0.1.2 vs lib/views/layout.erb in quickapps_feedback-0.1.3
- old
+ new
@@ -5,20 +5,18 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/assets/favicon.ico" rel="shortcut icon" />
<link href="/assets/application.css" media="all" rel="stylesheet" />
</head>
<body class="ui-page-active">
-<% if flash[:notice] %>
- <div class="alert alert-info" style="color:#00008b;"><%= flash[:notice] %></div>
-<% elsif flash[:alert] %>
- <div class="alert alert-block" style="color:#8b0000;"><%= flash[:alert] %></div>
+<% if flash('feedback_flash')[:notice] %>
+ <div class="alert alert-info" style="color:#00008b;"><%= flash('feedback_flash')[:notice] %></div>
<% end %>
<%= yield %>
<ul>
<li>
- <a href="/" id="home">Home</a>
+ <a href="/" id="home">back</a>
</li>
</ul>
</body>
</html>