Sha256: 6cc584c7a40eb5ef452b1e1957f6c1be61d3f5bc705830589a2ddf89cbc53554

Contents?: true

Size: 512 Bytes

Versions: 8

Compression:

Stored size: 512 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)),
                 breadcrumb_for("Stations", hd_unit_stations_path(unit))]

= within_admin_layout(title: "New", breadcrumbs: breadcrumbs) do
  = render "form", station: station, url: hd_unit_stations_path(station.hospital_unit_id)

Version data entries

8 entries across 8 versions & 1 rubygems

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