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

28 lines
785 B

<div class="wp-edit-field inplace-edit"
ng-class="[
vm.errorenous && '-error' || '',
vm.isEditable && '-editable' || '',
vm.active && '-active' || '',
vm.fieldName,
vm.wrapperClasses === undefined ? '-small' : vm.wrapperClasses
]">
<form ng-if="vm.workPackage && vm.active"
ng-click="vm.haltUserFormClick($event)"
ng-dblclick="vm.haltUserFormClick($event)"
name="vm.fieldForm"
ng-submit="vm.submit()">
<label for="{{vm.htmlId}}"
class="hidden-for-sighted">
{{::vm.fieldLabel}}
</label>
<ng-include src="vm.field.template"></ng-include>
</form>
<ng-transclude class="-hidden-overflow inplace-edit--read-value"
ng-hide="vm.active">
</ng-transclude>
</div>