app/views/rostra/questions/index.html.erb in rostra-0.1.6 vs app/views/rostra/questions/index.html.erb in rostra-0.1.7
- old
+ new
@@ -1,12 +1,12 @@
<%= render 'rostra/shared/sidebar' %>
<div id="page_content">
<div id="questions">
<% if Rostra::Question.count.zero? %>
- <h3>Sorry! No questions have been asked.</h3>
+ <div id="flash_alert" class="flash no_results">Sorry! No questions have been asked.</div>
<% elsif @questions.empty? %>
- <h3>Sorry! No questions found.</h3>
+ <div id="flash_alert" class="flash no_results">Sorry! No questions found.</h3>
<% else %>
<% @questions.each do |question| %>
<div class="question">
<div class="stats">