How to change caption on Search button in ActiveScaffold Rails?

268 Views Asked by At

How to change caption on Search button in ActiveScaffold Rails?

2

There are 2 best solutions below

0
On

Alternatively, copy that AS/frontend/views/default/_search.html.erb partial into your /app/views/active_scaffold_overrides/ folder, then edit the Search button text, and the updated partial will be used for all ActiveScaffold views in your app.

0
On

Override the _search.html.erb partial by importing it from AS/frontend/views/default/ into your corresponding views folder and adjust it as needed.