Skip to content

Commit

Permalink
Post-rebase fix to correct labels for read-only fields - e.g. Jobs UI…
Browse files Browse the repository at this point in the history
… (CFM-219)
  • Loading branch information
arlen committed Mar 23, 2023
1 parent ffa6760 commit f470dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/View/Helper/FieldHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ protected function formNameDiv(string $fieldName, string $labelText=null, string

return '<div class="field-name">
<div class="field-title">'
. ($this->editable && !($labelIsTextOnly) && ($fieldType != 'boolean')
. (!($labelIsTextOnly) && ($fieldType != 'boolean')
? $this->Form->label($fn, $label)
: $label)
. ($this->editable
Expand Down

0 comments on commit f470dd4

Please sign in to comment.