문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top