Sha256: 8c1412c6573bfbe3232f073974ba6c2d59dc1caa90a9a4eccb032a26371520e2

Contents?: true

Size: 902 Bytes

Versions: 95

Compression:

Stored size: 902 Bytes

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
        th.col-width-small= sort_link(query, :code, "Code")
        th Description
        th= sort_link(query, :code, "Leader")
        th Participants
        th.col-width-date= sort_link(query, :started_on, "Started")
        th.col-width-date= sort_link(query, :terminated_on, "Terminated")

    tbody
      - studies.each do |study|
        tr
          td.actions.left
            = link_to "View", research_study_path(study)
          td= study.code
          td= study.description.truncate(60)
          td= study.leader
          td= study.participants.count
          td= l(study.started_on)
          td= l(study.terminated_on)

  = paginate studies

Version data entries

95 entries across 95 versions & 1 rubygems

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