2 Controller: CaseTypeCtrl
3 Required vars: caseType
8 <th>{{ts('Activity Type')}}
</th>
9 <th>{{ts('Max Instances')}}
</th>
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 crm-icon=
"trash" class=
"crm-hover-button" ng-click=
"removeItem(caseType.definition.activityTypes, activityType)" title=
"{{ts('Remove')}}"></a>
33 crm-options=
"activityTypeNames"
35 crm-on-add=
"addActivityType(newActivity)"
36 placeholder=
"{{ts('Add activity type')}}"