mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Volunteers, positions and days and volunteers list for admin, volunteering option for attendees
This commit is contained in:
parent
125d5fe3ff
commit
64b2b8b3f8
31 changed files with 335 additions and 79 deletions
10
app/models/vposition.rb
Normal file
10
app/models/vposition.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
class Vposition < ActiveRecord::Base
|
||||
attr_accessible :title, :description, :date, :vday_ids
|
||||
|
||||
belongs_to :conference
|
||||
|
||||
has_many :vchoices
|
||||
has_many :vdays, :through => :vchoices
|
||||
|
||||
validates_presence_of :title, :vdays
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue