app/views/macro_options/_associate_documents.html.slim
= d.attribute :target_model, value: I18n.t(macro_run.target_model, scope: 'enumerize.target_model')
= d.attribute :model_code_space, as: :association, link: ->(code_space) { workgroup_code_space_path(@workbench.workgroup, code_space) }
= d.attribute :document_code_space, as: :association, link: ->(code_space) { workgroup_code_space_path(@workbench.workgroup, code_space) }