Adds instagram url to conference

This commit is contained in:
Gopesh Tulsyan 2014-06-27 22:45:12 +05:30
parent e576db90d7
commit 6ae845143e
4 changed files with 8 additions and 1 deletions

View file

@ -20,7 +20,7 @@ class Conference < ActiveRecord::Base
:include_social_media_in_splash, :include_program_in_splash,
:make_conference_public, :photos_attributes, :banner_photo,
:include_banner_in_splash, :targets, :targets_attributes, :campaigns,
:campaigns_attributes
:campaigns_attributes, :instagram_url
has_paper_trail

View file

@ -46,4 +46,5 @@
= f.input :facebook_url, hint: 'This will appear in the social media section as link to the Facebook page of your Conference'
= f.input :google_url, label: 'Google+ Url', hint: 'This will appear in the social media section as the link to the Google+ Page of your Conference'
= f.input :twitter_url, hint: 'This will appear in the social media section as the link to the Twitter Page of your Conference'
= f.input :instagram_url, hint: 'This will appear in the social media section as the link to the Instagram Page of your Conference'
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}