
from __future__ import unicode_literals

from MaKaC.webinterface.pages.base import WPJinjaMixin
from MaKaC.webinterface.pages.conferences import WPConferenceModifBase


class WPManageRegistration(WPJinjaMixin, WPConferenceModifBase):
    template_prefix = 'events/registration'
    sidemenu_option = 'registration'

    def getJSFiles(self):
        return WPConferenceModifBase.getJSFiles(self) + self._asset_env['modules_registration_js'].urls()


from __future__ import unicode_literals

from MaKaC.webinterface.pages.base import WPJinjaMixin
from MaKaC.webinterface.pages.conferences import WPConferenceModifBase


class WPManageRegistration(WPJinjaMixin, WPConferenceModifBase):
    template_prefix = 'events/registration/'
    sidemenu_option = 'registration'

    def getJSFiles(self):
        return (WPConferenceModifBase.getJSFiles(self) + self._asset_env['modules_registration_js'].urls() +
                self._asset_env['indico_regform'].urls())

    def getCSSFiles(self):
        return WPConferenceModifBase.getCSSFiles(self) + self._asset_env['registrationform_sass'].urls()

Include static files specific to regform
Include static files specific to regform

  
  from __future__ import unicode_literals
  
  from MaKaC.webinterface.pages.base import WPJinjaMixin
  from MaKaC.webinterface.pages.conferences import WPConferenceModifBase
  
  
  class WPManageRegistration(WPJinjaMixin, WPConferenceModifBase):
-     template_prefix = 'events/registration'
+     template_prefix = 'events/registration/'
      sidemenu_option = 'registration'
  
      def getJSFiles(self):
-         return WPConferenceModifBase.getJSFiles(self) + self._asset_env['modules_registration_js'].urls()
+         return (WPConferenceModifBase.getJSFiles(self) + self._asset_env['modules_registration_js'].urls() +
+                 self._asset_env['indico_regform'].urls())
  
+     def getCSSFiles(self):
+         return WPConferenceModifBase.getCSSFiles(self) + self._asset_env['registrationform_sass'].urls()
+ 
Include static files specific to regform
## Code Before:

from __future__ import unicode_literals

from MaKaC.webinterface.pages.base import WPJinjaMixin
from MaKaC.webinterface.pages.conferences import WPConferenceModifBase


class WPManageRegistration(WPJinjaMixin, WPConferenceModifBase):
    template_prefix = 'events/registration'
    sidemenu_option = 'registration'

    def getJSFiles(self):
        return WPConferenceModifBase.getJSFiles(self) + self._asset_env['modules_registration_js'].urls()

## Instruction:
Include static files specific to regform
## Code After:

from __future__ import unicode_literals

from MaKaC.webinterface.pages.base import WPJinjaMixin
from MaKaC.webinterface.pages.conferences import WPConferenceModifBase


class WPManageRegistration(WPJinjaMixin, WPConferenceModifBase):
    template_prefix = 'events/registration/'
    sidemenu_option = 'registration'

    def getJSFiles(self):
        return (WPConferenceModifBase.getJSFiles(self) + self._asset_env['modules_registration_js'].urls() +
                self._asset_env['indico_regform'].urls())

    def getCSSFiles(self):
        return WPConferenceModifBase.getCSSFiles(self) + self._asset_env['registrationform_sass'].urls()
