<%= form_for(@poll) do |f|%> <%= f.text_field :polls_name, :required => true, :name => "polls_name"%> <%= l(:label_button_ok) %> <% end%>