The original form used table layout; don't know if we have an alternative, CSS-based layout
-->
-<table class="form-layout">
- <tbody>
- <tr>
- <td class="label">
- <label crm-ui-label crm-for="title">
- Title
- </label>
- </td>
- <td>
+<div class="crm-block">
+ <div class="crm-group">
+ <div crm-ui-field="title" crm-title="ts('Title')">
<input
type="text"
name="title"
class="big crm-form-text"
required
/>
- </td>
- </tr>
- <tr>
- <td class="label">
- <label crm-ui-label crm-for="caseTypeName">
- Name
- </label>
- </td>
- <td>
+ </div>
+ <div crm-ui-field="caseTypeName" crm-title="ts('Name')">
<input
type="text"
name="caseTypeName"
<div ng-show="caseType.id && !locks.caseTypeName">
<em>WARNING: If any external files or programs reference the old "Name", then they must be updated manually.</em>
</div>
- </td>
- </tr>
- <tr>
- <td class="label">
- <label crm-ui-label crm-for="description">
- Description
- </label>
- </td>
- <td>
+ </div>
+ <div crm-ui-field="description" crm-title="ts('Description')">
<textarea name="description" ng-model="caseType.description" class="big crm-form-textarea"></textarea>
- </td>
- </tr>
- <tr>
- <td class="label">
- <label crm-ui-label crm-for="is_active">
- Enabled?
- </label>
- </td>
- <td>
+ </div>
+ <div crm-ui-field="is_active" crm-title="ts('Enabled?')">
<input name="is_active" type="checkbox" ng-model="caseType.is_active" ng-true-value="1" ng-false-value="0"/>
- </td>
- </tr>
- </tbody>
-</table>
+ </div>
+ </div>
+</div>