class ActionView::Helpers::FormBuilder

def hidden_field(method, options = {})


# =>
hidden_field(:token)
# Let's say that @user.token returns "abcde":

# =>
hidden_field(:tag_list)
# Let's say that @post.tag_list returns "blog, ruby":

# =>
hidden_field(:pass_confirm)
# Let's say that @signup.pass_confirm returns true:
==== Examples

shown.
hash with +options+. These options will be tagged onto the HTML as an HTML element attribute as in the example
assigned to the template (identified by +object+). Additional options on the input tag can be passed as a
Returns a hidden input tag tailored for accessing a specified attribute (identified by +method+) on an object
def hidden_field(method, options = {})
  @emitted_hidden_id = true if method == :id
  @template.hidden_field(@object_name, method, objectify_options(options))
end