= content_for(:actions) do = link_to "Edit", edit_patient_accesses_profile_path(patient, profile), class: "button" = within_patient_layout(title: "Access Profile", breadcrumbs: access_summary_breadrumb(patient)) do - return unless profile .document-view .grid .row = render "renalware/shared/attributes_group", legend: "Access Profile", destination: "profile", models: { profile => [:type, :side, :formed_on, :started_on, :terminated_on] } = render "renalware/shared/attributes_group", legend: "Admin", destination: "notes", models: { profile => [:updated_by, :updated_at, :notes] }