Sha256: aa3499f533b366b5fcb209709fc106ecd4b4b3f371d438a376d89b14e55e6c30
Contents?: true
Size: 782 Bytes
Versions: 28
Compression:
Stored size: 782 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_new_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.actions = link_to "Edit", edit_drugs_drug_path(drug) = 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
28 entries across 28 versions & 1 rubygems