You should be able to use a Simple Form Custom Input.
As I don't know Simple Form well enough, I don't know if you can access the routes from a custom input class.
If not, see the answers to these questions:
and
You should be able to use a Simple Form Custom Input.
As I don't know Simple Form well enough, I don't know if you can access the routes from a custom input class.
If not, see the answers to these questions:
and
You should be able to use a Simple Form Custom Input.
As I don't know Simple Form well enough, I don't know if you can access the routes from a custom input class.
If not, see the answers to these questions:
and
- 29k
- 11
- 86
- 188
You should be able to use a Simple Form Custom Input.
As I don't know Simple Form well enough, I don't know if you can access the routes from a custom input class.
If not, see the answers to these questions:http://stackoverflow.com/questions/3447160/accessing-rails-restful-routes-in-the-model
andhttp://stackoverflow.com/questions/5380703/rails-get-resource-path-in-model .
You should be able to use a Simple Form Custom Input.
As I don't know Simple Form well enough, I don't know if you can access the routes from a custom input class. If not, see the answers to these questions:http://stackoverflow.com/questions/3447160/accessing-rails-restful-routes-in-the-model andhttp://stackoverflow.com/questions/5380703/rails-get-resource-path-in-model .
You should be able to use a Simple Form Custom Input.
As I don't know Simple Form well enough, I don't know if you can access the routes from a custom input class.
If not, see the answers to these questions:
and
You should be able to use a Simple Form Custom Input.
As I don't know Simple Form well enough, I don't know if you can access the routes from a custom input class. If not, see the answers to these questions: http://stackoverflow.com/questions/3447160/accessing-rails-restful-routes-in-the-model and http://stackoverflow.com/questions/5380703/rails-get-resource-path-in-model.