to_form_markup (OpenID::Message)

    # File lib/openid/message.rb, line 255
        def to_form_markup(action_url, form_tag_attrs=nil, submit_text='Continue')
          form_tag_attr_map = {}

          if form_tag_attrs
            form_tag_attrs.each { |name, attr|
              form_tag_attr_map[name] = attr
            }
          end

          form_tag_attr_map['action'] = action_url
          form_tag_attr_map['method'] = 'post'
          form_tag_attr_map['accept-charset'] = 'UTF-8'
          form_tag_attr_map['enctype'] = 'application/x-www-form-urlencoded'

          markup = "<form "

          form_tag_attr_map.each { |k, v|
            markup += " #{k}=\"#{v}\""
          }

          markup += ">\n"

          to_post_args.each { |k,v|
            markup += "<input type='hidden' name='#{k}' value='#{v}' />\n"
          }
          markup += "<input type='submit' value='#{submit_text}' />\n"
          markup += "\n</form>"
          return markup
        end