On 5 October 2010 08:07, Mauro wrote:
> On 5 October 2010 04:05, Butu wrote:
>> Hello Mauro,
>>
>> tag is created in ActionView::Base
>> class only in case of any errors.
>>
>> From Rails code base:-
>>
>> # Specify the proc used to decorate input tags that refer to
>> attributes with errors.
On 5 October 2010 04:05, Butu wrote:
> Hello Mauro,
>
> tag is created in ActionView::Base
> class only in case of any errors.
>
> From Rails code base:-
>
> # Specify the proc used to decorate input tags that refer to
> attributes with errors.
> cattr_accessor :field_error_proc
> @@fiel
Hello Mauro,
tag is created in ActionView::Base
class only in case of any errors.
>From Rails code base:-
# Specify the proc used to decorate input tags that refer to
attributes with errors.
cattr_accessor :field_error_proc
@@field_error_proc = Proc.new{ |html_tag, instance| "#{html
If a model doesn't pass validation the field in the view is put under
a .
But who create that div? field_text helper do it?
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups
4 matches
Mail list logo