Sha256: 98aa31d878f8c7f8824471948fb0625cbe83bbb1bbb09cd6192ee23b1bad5a6b

Contents?: true

Size: 1.19 KB

Versions: 13

Compression:

Stored size: 1.19 KB

Contents

= content_for(:actions) do
  = link_to("Add", new_research_study_path, class: :button)

= content_for(:filters) do
  = render "filters", query: query

= within_admin_layout(title: "Clinical Studies") do
  table
    thead
      tr
        th.col-width-date= sort_link(query, :started_on, "Started")
        th.col-width-date= sort_link(query, :terminated_on, "Terminated")
        th.col-width-small= sort_link(query, :code, "Code")
        th Description
        th= sort_link(query, :code, "Leader")
        th Participants
        th
    tbody
      - studies.each do |study|
        tr
          td= l(study.started_on)
          td= l(study.terminated_on)
          td= study.code
          td= study.description
          td= study.leader
          td= study.participants.count
          td.actions
            = link_to "Delete",
                      research_study_path(study),
                      method: :delete,
                      data: { confirm: "Are you sure you want to delete this study?" }
            = " | "
            = link_to "Edit", edit_research_study_path(study)
            = " | "
            = link_to "View Participants", research_study_participants_path(study)

  = paginate studies

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
renalware-core-2.0.67 app/views/renalware/research/studies/index.html.slim
renalware-core-2.0.64 app/views/renalware/research/studies/index.html.slim
renalware-core-2.0.63 app/views/renalware/research/studies/index.html.slim
renalware-core-2.0.62 app/views/renalware/research/studies/index.html.slim
renalware-core-2.0.61 app/views/renalware/research/studies/index.html.slim
renalware-core-2.0.60 app/views/renalware/research/studies/index.html.slim
renalware-core-2.0.58 app/views/renalware/research/studies/index.html.slim
renalware-core-2.0.57 app/views/renalware/research/studies/index.html.slim
renalware-core-2.0.56 app/views/renalware/research/studies/index.html.slim
renalware-core-2.0.55 app/views/renalware/research/studies/index.html.slim
renalware-core-2.0.54 app/views/renalware/research/studies/index.html.slim
renalware-core-2.0.53 app/views/renalware/research/studies/index.html.slim
renalware-core-2.0.52 app/views/renalware/research/studies/index.html.slim