|
|
@ -34,7 +34,7 @@ function wpCreateForm() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
restrict: 'E', |
|
|
|
restrict: 'E', |
|
|
|
templateUrl: function (element, attrs) { |
|
|
|
templateUrl: function (element, attrs) { |
|
|
|
var directory = '/components/work-packages/directives/wp-create-form/', |
|
|
|
var directory = '/components/work-packages/wp-create-form/', |
|
|
|
template = 'wp-create-form.directive.html'; |
|
|
|
template = 'wp-create-form.directive.html'; |
|
|
|
|
|
|
|
|
|
|
|
if (attrs.formTemplate === 'full-create') { |
|
|
|
if (attrs.formTemplate === 'full-create') { |