disabled 'last rating given' because it was not shown on the example picture

This commit is contained in:
Aaro Koivukangas
2023-08-10 16:30:15 +03:00
parent f0c49274be
commit 185c61bc6e
+6 -4
View File
@@ -27,10 +27,12 @@
<% end %>
</p>
<%= yield %>
<% if session[:last_rating].nil? %>
<p>no ratings given</p>
<% else %>
<p>previous rating: <%= session[:last_rating] %></p>
<% if false %>
<% if session[:last_rating].nil? %>
<p>no ratings given</p>
<% else %>
<p>previous rating: <%= session[:last_rating] %></p>
<% end %>
<% end %>
</body>
</html>