Skip to content
Snippets Groups Projects
Commit 7e474668 authored by Anusha Ranganathan's avatar Anusha Ranganathan
Browse files

Merge branch 'update-crc-work-form' into 'develop'

Update CRC dataset form to include prompts

See merge request FDM/rdm-system/rdms!35
parents 270f5cf8 b32beec5
No related branches found
No related tags found
3 merge requests!115Tombstone not available for dataset,!77Bump ruby v2.7.7,!35Update CRC dataset form to include prompts
Pipeline #4896 failed
<% service = CoverageService.new %>
<%= f.input :coverage, as: :select,
prompt: 'Choose Coverage',
collection: service.select_all_options,
include_blank: true,
item_helper: service.method(:include_current_value),
input_html: { class: 'form-control' }
%>
<% service = CrcResourceTypeService.new %>
<%= f.input :crc_resource_type, as: :select,
prompt: 'Choose CRC Resource Type',
collection: service.select_all_options,
include_blank: true,
item_helper: service.method(:include_current_value),
input_html: { class: 'form-control' }
%>
<% service = ModalityService.new %>
<%= f.input :modality, as: :select,
collection: service.select_active_options,
include_blank: true,
include_blank: "Choose one or more...",
item_helper: service.method(:include_current_value),
input_html: { class: 'form-control', multiple: true }
%>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment