Issue #3555 - Added feature for Org admins can show/hide the by johnpinto1 · Pull Request #3579 · DMPRoadmap/roadmap
Ethical_Issues fragment in plans project details page. Co-authored-by: don-stuckey <dstuckey@ed.ac.uk> This feature was contributed to DMPonline by @don-stuckey. Changes: - These changes only kick in if enable_ethical_issues is enable in the application config. - Added to Org model attribute in a migration add_ro_ethical_concerns :boolean default(true), not null - Added a checkbox 'Add "Research outputs may have ethical concerns" field to "Project details" tab in plans' to app/views/orgs/_profile_form.html.erb. - Added code to the Plan Project Details view to show or hide the Ethical Issues fragment. - Added :add_ro_ethical_concerns to the strong params org_params for the Org controller.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters