0
+ # See Mack::ViewHelpers::FormHelpers check_box for more information
0
+ # @user = User.new(:accepted_tos => true)
0
+ # <%= :user.check_box :accepted_tos %> # => <input checked="checked" id="user_accepted_tos" name="user[accepted_tos]" type="checkbox" />
0
+ # <%= :i_dont_exist.checkbox %> # => <input id="i_dont_exist" name="i_dont_exist" type="checkbox" />
0
Thread.current[:view_template].check_box(self, *args)
0
+ # See Mack::ViewHelpers::FormHelpers file_field for more information
0
+ # @user = User.new(:bio_file => "~/bio.doc")
0
+ # <%= :user.file_field :bio_file %> # => <input id="user_bio_field" name="user[bio_field]" type="file" value="~/bio.doc" />
0
+ # <%= :i_dont_exist.file_field %> # => <input id="i_dont_exist" name="i_dont_exist" type="file" value="" />
0
Thread.current[:view_template].file_field(self, *args)
0
+ # See Mack::ViewHelpers::FormHelpers hidden_field for more information
0
+ # @user = User.new(:email => "mark@mackframework.com")
0
+ # <%= :user.hidden_field :email %> # => <input id="user_email" name="user[email]" type="hidden" value="mark@mackframework.com" />
0
+ # <%= :i_dont_exist.hidden_field %> # => <input id="i_dont_exist" name="i_dont_exist" type="hidden" />
0
def hidden_field(*args)
0
Thread.current[:view_template].hidden_field(self, *args)
0
+ # See Mack::ViewHelpers::FormHelpers image_submit for more information
0
def image_submit(*args)
0
Thread.current[:view_template].image_submit(self, *args)
0
+ # See Mack::ViewHelpers::FormHelpers label_tag for more information
0
Thread.current[:view_template].label(self, *args)
0
+ # See Mack::ViewHelpers::FormHelpers password_field for more information
0
+ # @user = User.new(:email => "mark@mackframework.com")
0
+ # <%= :user.password_field :email %> # => <input id="user_email" name="user[email]" type="password" value="mark@mackframework.com" />
0
+ # <%= :i_dont_exist.password_field %> # => <input id="i_dont_exist" name="i_dont_exist" type="password" />
0
+ def password_field(*args)
0
+ Thread.current[:view_template].password_field(self, *args)
0
+ # See Mack::ViewHelpers::FormHelpers radio_button for more information
0
def radio_button(*args)
0
Thread.current[:view_template].radio_button(self, *args)
0
+ # See Mack::ViewHelpers::FormHelpers select for more information
0
Thread.current[:view_template].select(self, *args)
0
+ # See Mack::ViewHelpers::FormHelpers submit for more information
0
Thread.current[:view_template].submit(self, *args)
0
+ # See Mack::ViewHelpers::FormHelpers text_area for more information
0
Thread.current[:view_template].text_area(self, *args)
0
+ # See Mack::ViewHelpers::FormHelpers text_field for more information
0
+ # @user = User.new(:email => "mark@mackframework.com")
0
+ # <%= :user.text_field :email %> # => <input id="user_email" name="user[email]" type="text" value="mark@mackframework.com" />
0
+ # <%= :i_dont_exist.text_field %> # => <input id="i_dont_exist" name="i_dont_exist" type="text" />
0
Thread.current[:view_template].text_field(self, *args)