Sha256: 8d0e5fafbaad4c785ecc61c26e810f1876e228dbcf33d240b2e6fca5e3827eb6

Contents?: true

Size: 567 Bytes

Versions: 5

Compression:

Stored size: 567 Bytes

Contents

/ We allow cross-module references in the UI but not in the controller hence:
- unit = Renalware::Hospitals::Unit.find(unit_id)
- breadcrumbs = [breadcrumb_for("Hospital Units", hospitals_units_path),
                 breadcrumb_for(unit.unit_code, edit_hospitals_unit_path(unit))]


= content_for(:actions) do
  = link_to t("new_record.link_title"),
            new_hd_unit_station_path(unit_id: unit.id),
            class: "button"

= within_admin_layout(title: "HD Stations", breadcrumbs: breadcrumbs) do

  = render "table", stations: stations, unit_id: unit.id

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta9 app/views/renalware/hd/stations/index.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/hd/stations/index.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/hd/stations/index.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/hd/stations/index.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/hd/stations/index.html.slim