Skip to content

Instantly share code, notes, and snippets.

@cknoxrun
Created May 16, 2018 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cknoxrun/098442856b0bfcece5ae6b5db219d963 to your computer and use it in GitHub Desktop.
Save cknoxrun/098442856b0bfcece5ae6b5db219d963 to your computer and use it in GitHub Desktop.
li.nav-item.dropdown
a.nav-link.dropdown-toggle href="#" data-toggle="dropdown" Browse
.dropdown-menu
= link_to "#{c_icon(:drugs)} Drugs".html_safe, main_app.drugs_path, class: 'dropdown-item'
= link_to "#{c_icon(:categories)} Categories".html_safe, main_app.categories_path, class: 'dropdown-item'
= link_to "#{c_icon(:pathways)} Pathways".html_safe, main_app.pathways_path, class: 'dropdown-item'
= link_to "#{c_icon(:reactions)} Drug Reactions".html_safe, main_app.reactions_path, class: 'dropdown-item'
= link_to "#{c_icon(:classifications)} Drug Classification".html_safe, main_app.classyfication_path, class: 'dropdown-item'
/ = link_to "#{c_icon(:targets)} Drug Targets".html_safe, main_app.targets_path, class: 'dropdown-item'
li.nav-item.dropdown
a.nav-link.dropdown-toggle href="#" data-toggle="dropdown" Browse
.dropdown-menu
= link_to "#{c_icon(:drugs)} Drugs".html_safe, main_app.drugs_path, class: 'dropdown-item'
= link_to "#{c_icon(:categories)} Categories".html_safe, main_app.categories_path, class: 'dropdown-item'
= link_to "#{c_icon(:pathways)} Pathways".html_safe, main_app.pathways_path, class: 'dropdown-item'
= link_to "#{c_icon(:reactions)} Drug Reactions".html_safe, main_app.reactions_path, class: 'dropdown-item'
= link_to "#{c_icon(:classifications)} Drug Classification".html_safe, main_app.classyfication_path, class: 'dropdown-item'
= link_to "#{c_icon(:targets)} Drug Targets".html_safe, main_app.targets_path, class: 'dropdown-item'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment