mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
disabled 'last rating given' because it was not shown on the example picture
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user