usecase: I expect users to have directory “.venvs” in their home.
How can I point path_selector
to start there?
You’d set show_hidden: true
and set the directory
to the current users directory.
Something like this with ERB - I’m not sure if ~
would work, but seems like it should if it doesn’t.
path:
widget: path_selector
show_hidden: true
direcctory: "<%= CurrentUser.home %>"
not working for me…
I do not strictly need path selector, the goal is to offer existing virtual environments to my $user…
You need to rename the file from form.yml
to form.yml.erb
so that it’ll template the file.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.