Skip to content

Commit

Permalink
textarea color
Browse files Browse the repository at this point in the history
  • Loading branch information
michelson committed Aug 6, 2024
1 parent cade68e commit 3811cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/tailwind_form_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def right_indicator_field(attribute, options = {})
def text_area(attribute, options = {})
@template.tag.div(class: "w-full sm:w-full py-2") do
@template.label_tag(tr(options[:label] || attribute), nil) +
super(attribute, options.reverse_merge(class: "block w-full rounded-md border-0 py-1.5 bg-muted text-gray-900 shadow-sm ring-1 ring-inset ring-subtle placeholder:text-subtle focus:ring-2 focus:ring-inset focus:ring-brand-600 sm:text-sm sm:leading-6")) +
super(attribute, options.reverse_merge(class: "")) +
field_details(attribute, object, options)
end
end
Expand Down

0 comments on commit 3811cdc

Please sign in to comment.