NAME
Valiant::HTML::Tag - Base class for tag objects
SYNOPSIS
TBD
DESCRIPTION
TBD
CLASS METHODS
This package exposes the folllowing class methods
ATTRIBUTES
This class has the following initialization attributes
skip_default_ids
Defaults to false. Generally we create an html id
attribute for the field based on a convention which includes the model name, index and method name. Setting this to true prevents that so you should set id
manually unless you don't want them. Please note that even if this is false, you can always override the id
on a per field basis by setting it manually.
allow_method_names_outside_model
Default is false. Generally we expect method_name
to be an actual method on the model
and if its not we expect an exception. This helps to prevent typos from leading to unexpected results. However sometimes you may wish create a form field that has a name that isn't on the model but still respects the current namespace and index. These names would appear in the POST request body and could be used for things other than updating or creating a model.
INSTANCE METHODS
This package exposes the folllowing instance methods
SEE ALSO
Valiant, Valiant::HTML::FormBuilder
AUTHOR
See Valiant
COPYRIGHT & LICENSE
See Valiant