I'm new to rails, and was wondering if I should be putting code like the second line inside my view:
<%= text_field_tag 'new_ingredient' %>
<input type=button ID="btnAddIngredient" Value="Add" onclick="addIngredient();" />
or is there a helper I should be using to generate the tag instead? I know about the form and tag helpers, but I don't want this particular button to be a form submission button. It's just a button that manipulates some items via javascript.
I'm guessing I should be using a helper, but I'm still trying to get familiar with the Rails API documentation and can't seem to find what I am looking for.