%= form_for(resource, :as => resource_name, :url => consume_user_phone_verification_path(resource_name), :html => { :method => :post }, remote: true) do |f| %>
<%=label_tag :code_entered %>
<%=text_field_tag :code_entered, "" %>
<%= f.submit "Activate" %>
<% end %>