Commit | Line | Data |
---|---|---|
4c58e251 TO |
1 | <!-- |
2 | Controller: CaseTypeCtrl | |
3 | Required vars: caseType | |
4 | ||
5 | The original form used table layout; don't know if we have an alternative, CSS-based layout | |
6 | --> | |
599e58a9 | 7 | <table class="form-layout"> |
4c58e251 TO |
8 | <tbody> |
9 | <tr> | |
10 | <td class="label">Label</td> | |
11 | <td> | |
599e58a9 | 12 | <input type="text" ng-model="caseType.title" class="big crm-form-text"/> |
4c58e251 TO |
13 | </td> |
14 | </tr> | |
15 | <tr> | |
16 | <td class="label">Name</td> | |
17 | <td> | |
685acae4 | 18 | <input type="text" ng-model="caseType.name" ng-disabled="locks.caseTypeName" class="big crm-form-text"/> |
19 | <a crm-ui-lock binding="locks.caseTypeName"></a> | |
4c58e251 TO |
20 | </td> |
21 | </tr> | |
22 | <tr> | |
23 | <td class="label">Description</td> | |
24 | <td> | |
599e58a9 | 25 | <textarea ng-model="caseType.description" class="big crm-form-textarea"></textarea> |
4c58e251 TO |
26 | </td> |
27 | </tr> | |
28 | <tr> | |
29 | <td class="label">Enabled?</td> | |
30 | <td> | |
31 | <input type="checkbox" ng-model="caseType.is_active" ng-true-value="1" ng-false-value="0"/> | |
32 | </td> | |
33 | </tr> | |
34 | </tbody> | |
35 | </table> |