Answers for "helpers ruby on rails"

2

form feild rails helper

<%= form_tag("/search", method: "get") do %>
  <%= label_tag(:q, "Search for:") %>
  <%= text_field_tag(:q) %>
  <%= submit_tag("Search") %>
<% end %>
Posted by: Guest on January-19-2020

Browse Popular Code Answers by Language