Sha256: 910fb51fe910e7767b62614e06766b3a9442d4a247efc7f4145a5346fe903cc3

Contents?: true

Size: 801 Bytes

Versions: 13

Compression:

Stored size: 801 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.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

13 entries across 13 versions & 1 rubygems

Version Path
renalware-core-2.0.137 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.136 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.135 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.134 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.133 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.132 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.131 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.130 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.129 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.128 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.127 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.126 app/views/renalware/modalities/descriptions/index.html.slim
renalware-core-2.0.125 app/views/renalware/modalities/descriptions/index.html.slim