Sha256: 722e8db209741fff560fdbec28cd654c33e86a44b3da2bb4564c6a0a3a3dbcce

Contents?: true

Size: 805 Bytes

Versions: 28

Compression:

Stored size: 805 Bytes

Contents

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

= within_new_admin_layout(title: "Modalities") do

  table.modality-codes
    thead
      tr
        th.col-width-small
        th Name
    tbody
      - modality_descriptions.each do |description|
        tr
          td.actions
            - if policy(description).edit?
              = link_to "Edit", edit_modalities_description_path(description.id)
            - if policy(description).destroy?
              = 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

28 entries across 28 versions & 1 rubygems

Version Path
renalware-core-2.0.167 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.166 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.165 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.164 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.163 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.162 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.161 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.160 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.159 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.158 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.157 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.156 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.155 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.153 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.152 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.151 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.149 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.148 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.147 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.146 app/views/renalware/modalities/descriptions/index.html.slim