Added nil checks for call for papers in event index

Changed first / lastname to name

close #342
close #344
This commit is contained in:
Chrisbr 2014-07-21 12:36:15 +02:00
parent 609f2fd564
commit 9d54d0db93
3 changed files with 5 additions and 6 deletions

View file

@ -40,8 +40,7 @@
- unless rate.user_id == current_user.id
%tr
%td
= rate.first_name
= rate.last_name
= rate.name
%td
- @conference.call_for_papers.rating.times do |counter|
- voted = @event.voted?(@event, rate.user)