Add difficulty levels

This commit is contained in:
Stella 2014-02-23 16:09:09 +02:00
parent 4356616566
commit 5b35e25ecd
15 changed files with 119 additions and 3 deletions

View file

@ -23,6 +23,8 @@
%b Type
%th
%b Track
%th
%b Difficulty
%th
%b State
- @events.each do |event|
@ -90,6 +92,8 @@
- @tracks.each do |track|
%li= link_to track.name, admin_conference_event_path(@conference.short_title, event, :track_id => track.id) ,
:method => :put, :track_id => track.id
%td
= event.difficulty_level.title if @conference.use_difficulty_levels && event.difficulty_level
%td
- if event.state == "withdrawn"
Withdrawn