Sha256: ad4eed2153bf34a8df3c954d88b996d9c528094befc9a5a1515c7437acf5acd4
Contents?: true
Size: 799 Bytes
Versions: 71
Compression:
Stored size: 799 Bytes
Contents
= content_for(:actions) do = link_to t("new_record.link_title"), new_drugs_drug_path, class: "button" = content_for(:filters) do = render "filters", drugs_search: @drugs_search = within_admin_layout(title: "Drugs") do table.drugs thead tr th.col-width-small th Name th Dm+d Virtual Product ID tbody - @drugs.each do |drug| tr td = link_to "Edit", edit_drugs_drug_path(drug) = pipe_separator = link_to "Delete", drugs_drug_path(drug), id: "#{drug.id}-drug", method: :delete, data: { confirm: I18n.t("prompts.confirm_delete") } td= link_to drug, edit_drugs_drug_path(drug) td= drug.vmpid = paginate @drugs
Version data entries
71 entries across 71 versions & 1 rubygems