app/views/mappings/index.html.haml
- @title = "Mappings"
%div#mappings_container.container-fluid
%h1.tab_header Mappings
%p.tab_description
= t('mappings.intro').html_safe
= link_to(Rails.configuration.settings.links[:help_mappings], id: "mappings-help",
"aria-label": "View mappings help") do
%i.fas.fa-question-circle.fa-lg{"aria-hidden": "true"}
%p#mappings_select
- if @options.empty?
No mappings available
- else
= select('search', 'ontologies', @options, {:include_blank => ""},{:onchange=>"loadMappings(this.value);", "data-placeholder".to_sym => "Select an Ontology", autocomplete: "off"})
#mapping_load
%img{src: asset_path("jquery.simple.tree/spinner.gif")}/
Loading mappings...
#mappingCount