Refactor toggles to work without JS, add specs
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
module FormElements
|
||||
class FieldsetComponent < ViewComponent::Base
|
||||
def initialize(tag: "div", title:, description: nil)
|
||||
def initialize(tag: "li", title:, description: nil)
|
||||
@tag = tag
|
||||
@title = title
|
||||
@descripton = description
|
||||
|
||||
Reference in New Issue
Block a user