OLD | NEW |
(Empty) | |
| 1 [if-any fields.values] |
| 2 [for fields.values] |
| 3 <input type="text" name="custom_[fields.field_id]" value="[fields.values.val
]" |
| 4 [# TODO(jrobbins): include fields.min_value and fields.max_value attr
s] |
| 5 [if-index fields.values first] |
| 6 [if-any fields.field_def.is_required_bool]required="required"[end] |
| 7 [end] |
| 8 style="width:12em" class="multivalued userautocomplete customfield" a
utocomplete="off"> |
| 9 [if-index fields.values first][else] |
| 10 <u class="removeMultiFieldValueWidget">X</u> |
| 11 [end] |
| 12 [if-index fields.values last] |
| 13 <u class="addMultiFieldValueWidget" data-field-id="[fields.field_id]"
data-field-type="user">Add a value</u> |
| 14 [end] |
| 15 [end] |
| 16 [else] |
| 17 <input type="text" name="custom_[fields.field_id]" value="" |
| 18 [if-any fields.field_def.is_required_bool]required="required"[end] |
| 19 style="width:12em" class="multivalued userautocomplete customfield" aut
ocomplete="off"> |
| 20 <u class="addMultiFieldValueWidget" data-field-id="[fields.field_id]" data-f
ield-type="user">Add a value</u> |
| 21 [end] |
| 22 |
| 23 [for fields.derived_values] |
| 24 <input type="text" disabled="disabled" value="[fields.derived_values.val]" |
| 25 style="width:12em" class="multivalued"> |
| 26 [end] |
OLD | NEW |