2 Controller: CaseTypeCtrl
3 Required vars: caseType
14 <tbody ui-sortable
ng-model=
"caseType.definition.activityTypes">
15 <tr ng-repeat=
"activityType in caseType.definition.activityTypes">
17 <span class=
"icon ui-icon-grip-dotted-vertical"></span>
18 {{ activityType.name }}
21 <input class=
"number" type=
"text" ng-pattern=
"/^[0-9]*$/" ng-model=
"activityType.max_instances" />
24 <a class=
"crm-hover-button" ng-click=
"removeItem(caseType.definition.activityTypes, activityType)">
25 <span class=
"icon delete-icon" title=
"Remove"></span>
35 crm-options=
"activityTypeNames"
37 crm-on-add=
"addActivityType(newActivity)"