diff options
Diffstat (limited to 'app/helpers/custom_fields_helper.rb')
-rw-r--r-- | app/helpers/custom_fields_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb index 13ee985b0..b4b44b238 100644 --- a/app/helpers/custom_fields_helper.rb +++ b/app/helpers/custom_fields_helper.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang @@ -69,7 +69,7 @@ module CustomFieldsHelper def custom_field_tag_name(prefix, custom_field) name = "#{prefix}[custom_field_values][#{custom_field.id}]" - name << "[]" if custom_field.multiple? + name += "[]" if custom_field.multiple? name end @@ -80,7 +80,7 @@ module CustomFieldsHelper # Return custom field html tag corresponding to its format def custom_field_tag(prefix, custom_value) css = "#{custom_value.custom_field.field_format}_cf" - css << ' wiki-edit' if custom_value.custom_field.full_text_formatting? + css += ' wiki-edit' if custom_value.custom_field.full_text_formatting? custom_value.custom_field.format.edit_tag self, custom_field_tag_id(prefix, custom_value.custom_field), |