import RoleManager from '/imports/api/managers/RoleManager.js';
import RouteManager from '/imports/api/managers/RouteManager.js';
import './DetailsForm.Navigation.jade';

Template.DetailsFormNavigation.helpers({
    hasBackLink() {
        return Template.currentData().data.backLink != null;
    },
    getBackLink() {
        FlowRouter.getParam('language');

        return FlowRouter.path(
            Template.currentData().data.backLink,
            FlowRouter.current().params);
    },
    getNavbarStyle() {
        const navbarStyle = Template.currentData().data.navbarStyle;

        return (navbarStyle != null ? navbarStyle : '');
    },
    showTitle() {
        return !Template.currentData().data.hideTitle;
    }
});

Template.DetailsForm.onCreated(() => {});

Template.DetailsForm.onRendered(() => {});

Template.DetailsForm.onDestroyed(() => {});

Template.DetailsForm.events({});

@@ -1,134 +1,4 @@
-import RoleManager from '/imports/api/managers/RoleManager.js';%0Aimport RouteManager from '/imports/api/managers/RouteManager.js';%0A
 impo
@@ -617,16 +617,26 @@
 ailsForm
+Navigation
 .onCreat
@@ -670,16 +670,26 @@
 ailsForm
+Navigation
 .onRende
@@ -724,16 +724,26 @@
 ailsForm
+Navigation
 .onDestr
@@ -779,16 +779,26 @@
 ailsForm
+Navigation
 .events(

fix wrong template name