fix proposal#show view

This commit is contained in:
Shlok Srivastava 2017-04-28 14:28:41 +00:00
parent e32ff99f2f
commit c07fd304c0

View file

@ -45,13 +45,6 @@
.row.speakerbio
.col-md-12
= markdown(speaker.biography)
-if @event.scheduled?
%dl.col-md-12
-if @event.ended?
- @votable_fields.each do |field|
%dt= field.title
%dd= rating_for @event, field.title
%br
.col-md-9
.row
.col-md-12
@ -126,3 +119,15 @@
%dt Room:
%dd
= event.room.name
.col-md-12
%hr
%table.table
%thead
%td.col-md-2
%b Feedback:
- @votable_fields.each do |field|
%tr
%td.col-md-2
= field.title
%td
= rating_for @event, field.title, star: field.stars