Sha256: d8331999c9911fab6c28015a9eded3e7d6f1d50e807724e53fd1cd75cb46f16b

Contents?: true

Size: 566 Bytes

Versions: 3

Compression:

Stored size: 566 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

3 entries across 3 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta12 app/views/renalware/hd/stations/index.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/hd/stations/index.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/hd/stations/index.html.slim