old_contents: # -*- coding: utf-8 -*-
  
  from django import forms
  from crispy_forms.helper import FormHelper
  from crispy_forms.layout import Submit, Layout, Fieldset, ButtonHolder
  from Instanssi.ext_programme.models import ProgrammeEvent
  
  class ProgrammeEventForm(forms.ModelForm):
      def __init__(self, *args, **kwargs):
          super(ProgrammeEventForm, self).__init__(*args, **kwargs)
          self.helper = FormHelper()
          self.helper.layout = Layout(
              Fieldset(
                  u'Tapahtuma',
                  'event_type',
                  'title',
                  'description',
                  'start',
                  'end',
                  'presenters',
                  'presenters_titles',
                  'icon_original',
                  'email',
                  'home_url',
                  'twitter_url',
                  'github_url',
                  'facebook_url',
                  'linkedin_url',
                  'wiki_url',
                  ButtonHolder (
                      Submit('submit', u'Tallenna')
                  )
              )
          )
                  
      class Meta:
          model = ProgrammeEvent
          exclude = ('event','icon_small',)
  
new_contents: # -*- coding: utf-8 -*-
  
  from django import forms
  from crispy_forms.helper import FormHelper
  from crispy_forms.layout import Submit, Layout, Fieldset, ButtonHolder
  from Instanssi.ext_programme.models import ProgrammeEvent
  
  class ProgrammeEventForm(forms.ModelForm):
      def __init__(self, *args, **kwargs):
          super(ProgrammeEventForm, self).__init__(*args, **kwargs)
          self.helper = FormHelper()
          self.helper.layout = Layout(
              Fieldset(
                  u'Tapahtuma',
                  'event_type',
                  'title',
                  'description',
                  'start',
                  'end',
                  'presenters',
                  'presenters_titles',
                  'icon_original',
                  'email',
                  'home_url',
                  'twitter_url',
                  'github_url',
                  'facebook_url',
                  'linkedin_url',
                  'wiki_url',
                  'gplus_url',
                  ButtonHolder (
                      Submit('submit', u'Tallenna')
                  )
              )
          )
                  
      class Meta:
          model = ProgrammeEvent
          exclude = ('event','icon_small',)
  
subject: Add google+ icon to admin form.