Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I extend sections? It would be nice to have nested_create and nested_update #3113

Open
bigos opened this issue Feb 28, 2019 · 0 comments

Comments

@bigos
Copy link

bigos commented Feb 28, 2019

At the moment I use the following workaround:

    nested do
      configure :name do
        read_only do !bindings[:object].new_record? end
        help do
          bindings[:object].new_record? ? help : ''
        end
      end
      configure :address do
        read_only do !bindings[:object].new_record? end
        help do
          bindings[:object].new_record? ? help : ''
        end
      end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant