Misc fixes
[shipsimu.git] / application / shipsimu / templates / de / code / action_ship_simu_login_government_training.ctp
index 4a188e95907b8309d9e593f6b4df02cdf48083b9..555c0360cc36d6e8ff5c560d043d6919e0e2a534 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Get form helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('html_form_helper', array($this, 'shipsimu_government_training'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_form_helper_class', array($this, 'shipsimu_government_training'));
 
 // Prefetch user instance
 $helperInstance->prefetchValueInstance('user');
@@ -41,7 +41,7 @@ $helperInstance->addFormNote('data_protection', "Deine Daten werden nach den g&u
 $helperInstance->flushContent();
 
 // Get link helper for profile link
-$linkInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper', array($this, 'shipsimu_profile'));
+$linkInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper_class', array($this, 'shipsimu_profile'));
 
 // Add action
 $linkInstance->addActionLinkById('profile', 'profile');