Added carousel component to take photos in Conference#edit
This commit is contained in:
parent
d9818f2749
commit
b10b43ac7a
3 changed files with 12 additions and 1 deletions
|
|
@ -10,7 +10,8 @@ class Conference < ActiveRecord::Base
|
|||
:difficulty_levels_attributes, :use_difficulty_levels,
|
||||
:use_vpositions, :use_vdays, :vdays_attributes, :vpositions_attributes, :use_volunteers,
|
||||
:media_id, :media_type, :color, :description,
|
||||
:registration_description, :ticket_description
|
||||
:registration_description, :ticket_description,
|
||||
:photos_attributes
|
||||
|
||||
has_paper_trail
|
||||
|
||||
|
|
@ -46,6 +47,7 @@ class Conference < ActiveRecord::Base
|
|||
accepts_nested_attributes_for :questions, :allow_destroy => true
|
||||
accepts_nested_attributes_for :vdays, :allow_destroy => true
|
||||
accepts_nested_attributes_for :vpositions, :allow_destroy => true
|
||||
accepts_nested_attributes_for :photos, allow_destroy: true
|
||||
|
||||
has_attached_file :logo,
|
||||
:styles => {:thumb => "100x100>", :large => "300x300>" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue