Merge pull request #42 from differentreality/proposal_event_types
Show length of event types in new proposal drop down
This commit is contained in:
commit
406b7dcd2d
3 changed files with 18 additions and 1 deletions
|
|
@ -2,4 +2,6 @@ class EventType < ActiveRecord::Base
|
|||
attr_accessible :title, :length, :minimum_abstract_length, :maximum_abstract_length
|
||||
|
||||
belongs_to :conference
|
||||
|
||||
validates :length, :numericality => {:greater_than => 0}
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue