Question

Am using Active Admin, In my database, the field name is big. So, I want to make an alias for the field in the display. I want something like this

f.input :incorrect_price_and_designer_1 , :alias=>"incorrect 1"

Please, let me know if anything is available.

Was it helpful?

Solution

Thanks for your support in advance..

inc_answer.input :incorrect_price_1, :label => "Incorrect 1"

This works fine...

It might be helpful for some people

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top