DefaultDataOutputTable.html 979 Bytes
Newer Older
jaapjansma's avatar
jaapjansma committed
1
<div class="crm-block" ng-form="defaultDataOutput" crm-ui-id-scope>
jaapjansma's avatar
jaapjansma committed
2
	<h3 class="widget-header">{{ts('Set defaults')}}</h3>
jaapjansma's avatar
jaapjansma committed
3
4
5
6
7
8
9
10
11
<table>
  <thead>
  	<th>{{ts('Field')}}</th>
  	<th>{{ts('Value')}}</th>
	</thead>
	<tbody>
	  <tr ng-repeat="input in formProcessor.inputs | orderBy:'name'" ng-class-even="'crm-entity even-row even'" ng-class-odd="'crm-entity odd-row odd'">
	  	<td>{{input.name}}</td>
	  	<td>
jaapjansma's avatar
jaapjansma committed
12
	  			<select class="huge40"
13
14
            name="{{input.name}}"
  					crm-ui-id="defaultData.{{input.name}}"
15
            crm-form-processor-select2="{dropdownAutoWidth : true, allowClear: true, placeholder: ts('- Select field to add to the output -')}"
16
  					ng-model="formProcessor.default_data_output_configuration[input.name]"
17
  					ng-required="false"
jaapjansma's avatar
jaapjansma committed
18
  				>
19
					<option value=""></option>
20
            <option ng-repeat="field in default_data_fields track by field.name" value="{{field.name}}">{{field.label}}</option>
jaapjansma's avatar
jaapjansma committed
21
22
23
				</select>
	  	</td>
	  </tr>
24
</table>
25
</div>