Added sponsor description and email to conference
This commit is contained in:
parent
f8ba5db48e
commit
2c27119e8e
5 changed files with 15 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ class Conference < ActiveRecord::Base
|
||||||
:registration_description, :ticket_description,
|
:registration_description, :ticket_description,
|
||||||
:sponsorship_levels_attributes,
|
:sponsorship_levels_attributes,
|
||||||
:sponsors_attributes, :facebook_url,
|
:sponsors_attributes, :facebook_url,
|
||||||
:google_url, :twitter_url
|
:google_url, :twitter_url, :sponsor_description, :sponsor_email
|
||||||
|
|
||||||
has_paper_trail
|
has_paper_trail
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,8 @@
|
||||||
= f.input :registration_end_date, :as => :string, :input_html => { :id => "conference-reg-end-datepicker", :readonly => "readonly" }
|
= f.input :registration_end_date, :as => :string, :input_html => { :id => "conference-reg-end-datepicker", :readonly => "readonly" }
|
||||||
= f.input :registration_description, hint: 'This description will appear in registration segment of the splash'
|
= f.input :registration_description, hint: 'This description will appear in registration segment of the splash'
|
||||||
= f.input :ticket_description, hint: 'This will appear in the Tickets segment of the splash'
|
= f.input :ticket_description, hint: 'This will appear in the Tickets segment of the splash'
|
||||||
|
= f.input :sponsor_description, hint: 'This will appear in the sponsor segment of the splash'
|
||||||
|
= f.input :sponsor_email, hint: 'This will appear in the sponsor segment of the splash for the sponsors to contact to the organizers'
|
||||||
|
|
||||||
= f.inputs :name => "Media" do
|
= f.inputs :name => "Media" do
|
||||||
- if !@conference.logo.blank?
|
- if !@conference.logo.blank?
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
class AddSponsorDescriptionToConference < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :conferences, :sponsor_description, :text
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
class AddSponsorEmailToConference < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :conferences, :sponsor_email, :string
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
@ -84,6 +84,8 @@ ActiveRecord::Schema.define(version: 20140612181230) do
|
||||||
t.string "twitter_url"
|
t.string "twitter_url"
|
||||||
t.string "facebook_url"
|
t.string "facebook_url"
|
||||||
t.string "google_url"
|
t.string "google_url"
|
||||||
|
t.text "sponsor_description"
|
||||||
|
t.string "sponsor_email"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "conferences_questions", id: false, force: true do |t|
|
create_table "conferences_questions", id: false, force: true do |t|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue