   import Phoenix.HTML
 
   @special_attributes ["data", "aria", "class"]
-
   @csrf_param "_csrf_token"
-  @method_param "_method"
 
   @doc ~S"""
   Creates an HTML tag with the given name and options.

    html_escape([form_tag(action, options), block, raw("</form>")])
  end

  defp csrf_token_tag(to, opts, extra) do
    case Keyword.pop(opts, :csrf_token, true) do
      {csrf_token, opts} when is_binary(csrf_token) ->
        {extra <> ~s'<input name="#{@csrf_param}" type="hidden" value="#{csrf_token}">', opts}

      {true, opts} ->
        csrf_token = csrf_token_value(to)
        {extra <> ~s'<input name="#{@csrf_param}" type="hidden" value="#{csrf_token}">', opts}

      {false, opts} ->
        {extra, opts}
    end
  end


          {"", opts}

        "post" ->
          {csrf, opts} = csrf_form_tag(action, opts)
          {csrf, Keyword.put(opts, :method, "post")}

        _ ->
          {csrf, opts} = csrf_form_tag(action, opts)

          {[~s'<input name="_method" type="hidden" value="', to_string(method), ~s'">' | csrf],
           Keyword.put(opts, :method, "post")}
      end

    opts =
