chore: init commit
in worker.../repo/GITFOLDER.zip is the .git folder.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Components
|
||||
module TextareaHelper
|
||||
def render_textarea(name:, label: false, id: nil, value: nil, **options)
|
||||
options.reverse_merge!(
|
||||
rows: 3, required: false, disabled: false,
|
||||
readonly: false, class: "", label: false, placeholder: "Type here..."
|
||||
)
|
||||
render partial: "components/ui/textarea", locals: {
|
||||
label:,
|
||||
name:,
|
||||
value:,
|
||||
id:,
|
||||
options: options
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user