OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/frontend/app/components/wp-edit/wp-edit-field/wp-edit-field.directive.html

18 lines
455 B

<div class="wp-edit-field -small"
ng-class="[
vm.errorenous && '-error' || '',
vm.isEditable && '-editable' || '',
vm.active && '-active' || '',
vm.fieldName
]">
<form ng-if="vm.workPackage && vm.active"
name="vm.wpEditForm"
ng-submit="vm.submit()">
<ng-include src="vm.field.template"></ng-include>
</form>
<ng-transclude class="-hidden-overflow" ng-hide="vm.active"></ng-transclude>
</div>