Select Call type when creating; don't switch types.
This commit is contained in:
parent
e518431b8e
commit
75bf1380ba
4 changed files with 22 additions and 14 deletions
|
|
@ -9,11 +9,5 @@ module Admin
|
|||
admin_conference_program_cfp_path(conference, cfp)
|
||||
end
|
||||
end
|
||||
|
||||
def select_cfp_types(cfp, program)
|
||||
cfp_types = program.remaining_cfp_types
|
||||
cfp_types.unshift(cfp.cfp_type) unless cfp.new_record?
|
||||
cfp_types.map { |cfp_type| ["#{cfp_type.capitalize}", cfp_type] }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue