Skip to content
Snippets Groups Projects
Commit b32beec5 authored by Sagar Pandya's avatar Sagar Pandya Committed by Anusha Ranganathan
Browse files

Update CRC dataset form to include prompts

parent 270f5cf8
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
<% 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