mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-29 21:17:17 +00:00
11923: fix lint issues
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class MultipleCheckedSelectComponent < ViewComponent::Base
|
||||
# @param id [String] uniquely identifies the MultipleCheckedSelect (mcs) field. '_mcs_field' will be appended
|
||||
# @param id [String]
|
||||
# Uniquely identifies the MultipleCheckedSelect (mcs) field.
|
||||
# '_mcs_field' will be appended to the given ID to form the complete ID.
|
||||
def initialize(id:, name:, options:, selected:)
|
||||
@id = "#{id}_mcs_field"
|
||||
@name = name
|
||||
|
||||
Reference in New Issue
Block a user