Using Rails 4. I have a text_area_tag with submit_tag to do a query. I
need to add a button to clear out the textarea and resubmit the form
(using form_tag)
Layout looks like this:
Textarea
Query Button 1 Clear Button
Code looks like this:
form_tag …
text_area_tag
submit_tag “Query Button”
end form tag