lib/views/layout.erb in quickapps_feedback-0.1.3 vs lib/views/layout.erb in quickapps_feedback-0.1.4
- old
+ new
@@ -5,11 +5,13 @@
<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('feedback_flash')[:notice] %>
- <div class="alert alert-info" style="color:#00008b;"><%= flash('feedback_flash')[:notice] %></div>
+<% if params[:success] %>
+ <div class="alert alert-info" style="color:#00008b;">
+ thank you for your feedback
+ </div>
<% end %>
<%= yield %>
<ul>