Sha256: d13b4eadb5b7e01f97cbff78f2eecff5198f22c91ad602703ea1a408625a2dd3

Contents?: true

Size: 824 Bytes

Versions: 133

Compression:

Stored size: 824 Bytes

Contents

= content_for(:actions) do
  = link_to t("new_record.link_title"),
            new_modalities_description_path,
            class: "button"

= within_admin_layout(title: "Modalities") do

  table.modality-codes
    thead
      tr
        th.col-width-small
        th Name
    tbody
      - modality_descriptions.each do |description|
        tr
          td
            - if policy(description).edit?
              = link_to "Edit", edit_modalities_description_path(description.id)
            - if policy(description).destroy?
              = pipe_separator
              = link_to "Delete",
                        modalities_description_path(description.id),
                        method: :delete,
                        data: { confirm: "Are you sure you want to delete this modal?" }
          td= description.name

Version data entries

133 entries across 133 versions & 1 rubygems

Version Path
renalware-core-2.0.124 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.123 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.121 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.120 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.119 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.118 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.117 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.116 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.115 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.113 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.112 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.111 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.110 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.109 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.108 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.106 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.105 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.104 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.103 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.102 app/views/renalware/modalities/descriptions/index.html.slim